chobie / jira-api-restclient

php JIRA REST API
MIT License
218 stars 123 forks source link

Basic auth with password to be deprecated - start using API tokens #175

Closed mansilladev closed 6 years ago

mansilladev commented 6 years ago

See: https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/

As of March 15, 2018, in accordance to the Atlassian REST API Policy, support for passwords in HTTP basic auth requests will no longer be supported on or after September 15, 2018.

Instead of passwords, you should start using API tokens.

aik099 commented 6 years ago

Luckily that won't require library code to be changed, because according to API Token usage example at https://confluence.atlassian.com/cloud/api-tokens-938839638.html the generated API token is used in place of regular password.

Have you tried that?

mansilladev commented 6 years ago

@aik099 - that’s right. You just need to substitute the password with an API token, and it will work just fine.

aik099 commented 6 years ago

Good. Closing, because no changes to the code are needed.