Issue related to OAUTH

We are in process to implement OAUTH instead of the basic authentication.

We are using the below mentioned link to implement OAUTH.

https://developer.atlassian.com/server/jira/platform/oauth/

In the third step we are getting error as mentioned below :

org.apache.http.impl.client.AbstractAuthenticationHandler selectScheme
WARNING: Authentication scheme ntlm not supported
com.google.api.client.http.HttpResponseException: 407 blank
<html><title>Cannot load block message</title>Status Code:
403'<br>MainBlockTemplate = 'index.html'<br>BlockMessage =
'blank.html'</html>
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1070)
at
com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java:73)
at
com.atlassian.oauth.client.example.JiraOAuthClient.getAndAuthorizeTemporaryToken(JiraOAuthClient.java:37)
at
com.atlassian.oauth.client.example.OAuthClient.handleGetRequestTokenAction(OAuthClient.java:69)
at
com.atlassian.oauth.client.example.OAuthClient$$Lambda$9/6384802.apply(Unknown
Source)
at
com.atlassian.oauth.client.example.OAuthClient.execute(OAuthClient.java:51)
at com.atlassian.oauth.client.example.ClientMain.main(ClientMain.java:53)

Any help on this will be appreciated as because of this one critical application is getting
impacted.

Thanks & Regards
Prabhat Ranjan

@PrabhatRanjan You labeled this thread as jira-cloud but have posted the documentation for OAuth from Jira Server.

Have you looked at the OAuth docs for Jira Cloud? There maybe differences in OAuth between the two deployment types of Jira Cloud which may be causing your problems if your following Server documentation for Cloud.

Try this and report back: https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

Thanks for sharing the Jira Cloud documentation on OAUTH. This we already referred to.

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication

Do you have any other suggestion for this issue.

Thanks & Regards
Prabhat Ranjan

Hi @PrabhatRanjan,

Thanks for confirming that this is for cloud. May I know what you want to do to suggest which of our frameworks/tools would work best for your use case? Will https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/ work for you?

Cheers,
Anne