Skip to content

Conversation

@leungas
Copy link

@leungas leungas commented Nov 25, 2021

Describe the PR
Currently echo-swagger assumes the Redirect URL used in OAuth2 process flow is at the root. Thus in the case of when Swagger UI is not root, the redirection would not work and result in 404 Not Found returned. This PR will enable a new parameter RedirectUrl parameter and can be used along with the EchoWrapHandler so it can overwritten if necessary.

Relation issue
None - new feature

Additional context
If the RedirectURL parameter is not set, it will simply take the existing echo-swagger functions.

@leungas
Copy link
Author

leungas commented Nov 27, 2021

Just update the changes as mentioned above.

@ubogdan
Copy link
Contributor

ubogdan commented Dec 24, 2021

Would you please fix the code and resolve conflicts to go forward with it?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants