-
Notifications
You must be signed in to change notification settings - Fork 18
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
Not configurable 'redirect_url' for a openidclient #14
Comments
The redirect URL is actually constructed from the current URL: Lines 378 to 384 in 06a652f
But I agree, it might make sense to be able to override this. There are different ways to deal with this. This could be configured in the oauth2 main configuration, via an optionally provided URL. Or using an optionally provided relative URL maybe. It could also be provided in the |
@ctron I think more convenient way is to have it at Client config level. You concept of 'Additional', right? That make sense to me put ALL optional additional configurations into this structure with 'predefined' default values. Any other solutions will be less attractive to me. |
Yea, that is true. However, we already have the However, that doesn't matter as a default can be defined using Maybe it makes sense to define this as |
@ctron I don't want to limit you in solution. It makes sense to me for any convenient approach. Just provide in doc several examples how to configure for different use cases. |
I won't promise anything, but if you have some time, a PR would definitely help. |
I need to integrate with OKTA my yew application. For Swagger I used redirect_url as part of configuration with some other params.
I saw in code used some default value like
http://localhost:8080/index.html
. Okta is requiredhttp://localhost:8080/login/oauth2/code/okta
.I didn't find any way to configure it.
Please expose a way to configure that.
The text was updated successfully, but these errors were encountered: