Skip after-registration hook on oidc login on first time #3819
Unanswered
shreeharsha-factly
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
#Issue 1
Is it possible to skip the after-registration hook and create a session instead when a user logs in directly using the Google OIDC (OpenID Connect) login flow without registering first? The after-registration hook returns to the login page as per our Kratos config, requiring the user to log in again with Google OIDC, which might confuse them if the session is not created on the first attempt.
#Issue 2
We have integrated a generic OIDC provider and the 'sub' field from the userinfo is not persistent. Consequently, Kratos interprets each login attempt as a new registration due to the 'sub' field being different each time. Is it possible to configure Kratos so that users can log in directly without going through the registration process after the hook actions? Alternatively, is it feasible to select a different field from the userinfo instead of 'sub'?
Beta Was this translation helpful? Give feedback.
All reactions