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

[portal] Swagger UI redirect_uri for OAuth2 authentication needs to be configured #1529

Closed
lukasportal opened this Issue Oct 3, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@lukasportal

lukasportal commented Oct 3, 2018

Today, the Swagger UI Authorization feature is set up with the default redirect_uri for oauth2 authorization.

When I click on "Authorize", a window pop ups with the right information to login and a button "Authorize"
After clicking on "Authorize", I get redirected to my login screen (which is correct), but the redirect_uri sent is "localhost:3200/oauth2-redirect.html", which is the default url set in the swagger-ui repo.
This url needs to be fixed so that the login page can redirect the user back to the gateway's Swagger UI oauth2 handler and save the JWT.

I believe this is the file where you configure the urls:
https://github.com/swagger-api/swagger-ui/blob/a86fcf312a0d9b04d99982bf88a3d95884eddb9a/swagger-config.yaml

@brasseld brasseld changed the title from Swagger UI redirect_uri needs to be configured to a valid path within the UI management portal to [portal] Swagger UI redirect_uri for OAuth2 authentication needs to be configured Oct 5, 2018

@brasseld brasseld self-assigned this Oct 5, 2018

@brasseld brasseld added this to the 1.20.0 milestone Oct 5, 2018

brasseld added a commit to gravitee-io/gravitee-management-webui that referenced this issue Oct 6, 2018

aelamrani added a commit to gravitee-io/gravitee-management-webui that referenced this issue Oct 16, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment