Hey team, can someone tell me if this is expected ...
# talk-kratos
s
Hey team, can someone tell me if this is expected behaviour: I have the
hook: session
on, and that works fine, although, when I create an account with an OIDC provider such as google, and it needs extra information that is not available through the claims, it goes to the provider page twice, first when I click the provider button (ok), and the second when I fill the missing data, and click the provider button again. Is this expected?
I have read Troubleshooting social sign-in integrations | Ory, but in my case, I already know that certain field needs to be manually inserted. So while I'm not in an infinite redirect loop, my flow goes to the provider page twice.
So basically: 1. Redirect to the social sign-in provider. 2. Redirect back to Ory with a
code
query parameter. 3. Ory exchanges the
code
for an access token and retrieves the user information. 4. Ory maps the user information to the Identity Schema traits. 5. Ory redirects back to the registration page, requiring the user to provide the values for the missing traits. 6. Redirect to the social sign-in provider. 7. Redirect to
redirect_url
I just tested with the node template, and it's the same. So I guess this is expected. Can I provide the missing fields before clicking the sign up the first time?