Hi,
I am new to Apigee, worked on a few scenarios and played with few basic policies. I am currently working on 3 legged OAuth scenario and facing issue with the use case.
Error message:
{"ErrorCode" : "invalid_request", "Error" :"Redirection URI is required"}
I have completed both the pre-requests that are mentioned in the below sample and neither of the cases provide the step to update the callback URI. i am not sure if i missed any of the step or overlooked.
As per the testing i am able to see the login page and login with the UN/PWD and see the response page to provide authorization rights. On click of submit I see this error. Any help related to this will be helpful .
Sample use case:
Thanks,
Aswin.
Hello @AswinBalakrishnan - You need to provide the callback URL as part of your App configuration.
For e.g. Let's say your callback URL is http://www.google.com. After you submit the consent page, you will be redirected to google.com page with Authorization code in the URL.
It's not clearly described in the API Jam documentation. We will update the docs. Sorry about the inconvenience.
Thanks,
Sudhee
Hello @AswinBalakrishnan If you are trying OAuth 2.0 With Grant Type 'Authorization Code' then you need to get the Auth Code using the following queryparams in a GET Request : client_id, response_type=’code’, redirect_uri
You can also configure the redirect_uri as CallBack URL on Apps as suggested by Sudhee Sreedhara
@AswinBalakrishnan did you work on the the
Did it work for you?
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |