Quarkus OIDC with custom code flow and customize url for call to autorhize and the redirect - #23053
-
DescriptionHi All, We have few additional parameters in the oauth code flow, need to know how its done with quarkus-oidc. request params in our initial authorization code request is response_type Implementation ideasallow hook to customize any number for request param in code flow and post calls. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 17 replies
-
/cc @pedroigor, @sberyozkin |
Beta Was this translation helpful? Give feedback.
-
@debu999 Hi,
Please experiment |
Beta Was this translation helpful? Give feedback.
-
Thanks. Let me try those today. |
Beta Was this translation helpful? Give feedback.
-
@debu999 About to move it to |
Beta Was this translation helpful? Give feedback.
-
@debu999 good you've narrowed it down,
Can you clarify it please ? Do you mean that if you configure |
Beta Was this translation helpful? Give feedback.
-
What do you mean ? The user info endpoint does not return any tokens, it returns
It does not - a user has to configure I think that may be we are talking about the different things, please clarify again |
Beta Was this translation helpful? Give feedback.
-
Perhaps when you say |
Beta Was this translation helpful? Give feedback.
-
@debu999 I see, it can only happen if you have configured (in the earlier versions It should not trigger a user info request unless you have set |
Beta Was this translation helpful? Give feedback.
@debu999 I see, it can only happen if you have configured
quarkus-oidc
to requireUserInfo
, see:https://github.com/quarkusio/quarkus/blob/main/extensions/oidc/runtime/src/main/java/io/quarkus/oidc/runtime/OidcIdentityProvider.java#L115
(in the earlier versions
false
is set as a default at the config level)It should not trigger a user info request unless you have set
quarkus.oidc.authentication.user-info-required=true
, can you check please your config