AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
323 stars 131 forks source link

Authentication with API token #313

Closed lipkau closed 5 years ago

lipkau commented 5 years ago

Jira server that have SingleSignOne enabled can use the API with PAT. Thanks to @123dev for testing and reporting it on slack

This finding should be documented. Preferably in about_JiraPS_Authentication.

Hrant [22:05] I just tested this, and it works, all one has to do is go to id.atlassian.com and generate an API token, and the use the Token as a password replacement.

Hrant [22:22] Please note that we don't use session, each call is made with credentials. calling API /rest/auth/1/session with token fails https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/