Closed pqab closed 1 year ago
You can set extraParams field in OAuth2Options when creating your oauth2 provider: https://github.com/eclipse-vertx/vertx-auth/blob/60af91463c0625a256cdc6ac6cb8e3254bd6bdc9/vertx-auth-oauth2/src/main/java/io/vertx/ext/auth/oauth2/OAuth2Options.java#L454-L457
This will be added to the request: https://github.com/eclipse-vertx/vertx-auth/blob/60af91463c0625a256cdc6ac6cb8e3254bd6bdc9/vertx-auth-oauth2/src/main/java/io/vertx/ext/auth/oauth2/impl/OAuth2API.java#L176-L180
Thank you, it works, I can see the custom params injected to the authenticate request now
You are welcome @pqab , can you please close this issue as the problem seems to be resolved?
Describe the feature
The OAuth2AuthProviderImpl is only sending
scopes
orgrant_type
in the request, but our OIDC authentication server needs some custom data for the authentication, it would be nice if CLIENT flow could inject some more custom data, for exampleVersion
4.3.0