clever-ice-6330
11/01/2023, 9:06 AMoidc
method (w/ configured Google OAuth client details in the Ory Console)
◦ Using client.UpdateRegistrationFlowWithOidcMethod
and FrontendApi.UpdateRegistrationFlow
• Trigger my backend to redirect the browser to Google consent screen
• After consent screen, receive and parse the Google callback on the backend, which includes:
◦ ory_kratos_continuity cookie
◦ state
◦ code
◦ scope
◦ prompt
◦ authuser
◦ hd
So at this last step I am unsure which parts of the ory/client-go
SDK & Frontend API I should be using to complete the process, I think I am at 3 & 4 (as described in the authorization code flow docs mentioned previously). If there are any examples anywhere on how to perform this process pointing me to them would very much be appreciated.clever-ice-6330
11/17/2023, 7:07 AMUpdate Registration Flow
after your oidc client has verified and exchanged tokens with your identity provider, you can update the registration flow with:
• method (oidc
)
• provider string
• id token (not marked as required but it is in order to complete the flow)
• csrf token
• traits with the retrieved claims
The above worked w/ Google Social Sign In for me.