Forum Discussion

vishwajeet_hol's avatar
10 years ago

Oauth 2.0 : facing issue to get authorization code

Hi,

 

I am trying to implement Oauth 2.0 authorization. I am not familier with it.

I have referred below link on lithosphere :

http://community.lithium.com/t5/Community-API-v2/OAuth-2-0-authorization-grant-flow/ta-p/138402

 

Done POST call through 'poster'(add on) on Firefox using following details :

URL : https://<community_url>/auth/oauth2/authorize

client_id=<client_ID_of_community>
response_type=code
redirect_uri=https://<community_url>/getaccesstoken

 

But facing issue to get authorization code, which is very first step of OAuth 2.0 authorization grant flow.

Am I going in right way ?

I have confusion about 'redirect_uri' parameter. What it should be ? 

 

 

Let me know if you have any suggetion for the same.

Thank you in advance.

 

Regards,

Vishwajeet.

24 Replies