Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic authentication with passwords is deprecated #79

Open
zorino opened this issue Nov 6, 2020 · 0 comments
Open

Basic authentication with passwords is deprecated #79

zorino opened this issue Nov 6, 2020 · 0 comments

Comments

@zorino
Copy link

zorino commented Nov 6, 2020

Jira seem to have deprecated user / password authentication... is there a workaround for this ?

2020-11-06 00:38:16,327 [main] INFO  s.g.r.j.jira.AuthHandlerProvider - Using basic authentication
2020-11-06 00:38:16,332 [main] INFO  s.g.r.j.jira.AuthHandlerProvider - Password already provided
2020-11-06 00:38:17,337 [main] ERROR s.g.r.j.server.JiraServerInfoLogger - Failed to connect to JIRA
java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(401), errorCollections=[]}
        at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:476)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:455)
        at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:79)
        at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:63)
        at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.get(DelegatingPromise.java:102)
        at se.gustavkarlsson.rocketchat.jira_trigger.server.JiraServerInfoLogger.logInfo(JiraServerInfoLogger.java:28)
        at se.gustavkarlsson.rocketchat.jira_trigger.server.Server.start(Server.java:48)
        at se.gustavkarlsson.rocketchat.jira_trigger.App.main(App.java:23)
Caused by: com.atlassian.jira.rest.client.api.RestClientException: org.codehaus.jettison.json.JSONException: A JSONObject text must begin with '{' at character 1 of Basic authentication with passwords is deprecated.  For more information, see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant