Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Redirecting to a different url after authorizing OAuth app

João Lopes November 23, 2018

This question is related to the OAuth2 API.

Is it possible to define a callback different than the base URL defined on an OAuth app, so that a user can be redirected to it instead when making a request?

I want to authenticate a user by sending them to the authorize endpoint, however, I want the code response to come back to a different endpoint on my side. (Base url is something like example.com and I want the code response to go to a example.com/login/bitbucket or example.com/projects/ for example).

I tried adding a redirect_uri query parameter but it produces a non-usable code (can't trade it for access and refresh tokens).

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events