microscopic-answer-24504
02/16/2024, 8:42 AMwitty-holiday-65473
02/16/2024, 9:05 AMwitty-holiday-65473
02/16/2024, 9:07 AMregistration
or settings
flow, update the user's profile accordingly via response.best-toddler-99843
02/16/2024, 9:10 AMwitty-holiday-65473
02/16/2024, 9:10 AMsettings
flow. Take a close look at the link I posted above. It will give you precise details on what the webhook will be sent and exactly what to return from the webhook to correct or approve the user's change.witty-holiday-65473
02/16/2024, 9:12 AMbest-toddler-99843
02/16/2024, 9:36 AMwitty-holiday-65473
02/16/2024, 9:37 AMThe problem here is google does not specify email it comes like userinfo.email.please explain that in detail what that means to you.
best-toddler-99843
02/16/2024, 9:40 AMhttps://<projecturl>.<http://projects.oryapis.com/self-service/methods/oidc/callback/google?state=<state>&scope=email+profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=1&hd=davisindex.com&prompt=none|projects.oryapis.com/self-service/methods/oidc/callback/google?state=<state>&scope=email+profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&authuser=1&hd=davisindex.com&prompt=none>
This is how the authentication is being done, I did try setting one webhook and see what is the updated object for the session it does contain the array below:
"authentication_methods": [
{
"method": "oidc",
"aal": "aal1",
"completed_at": "2024-02-16T09:20:38.858325815Z",
"provider": "google"
}]
but I need a way to understand which emailid was provided by google at the time of SSO linking. I am having difficulty getting thatbest-toddler-99843
02/16/2024, 9:41 AMwitty-holiday-65473
02/16/2024, 9:52 AMbest-toddler-99843
02/16/2024, 9:52 AMbest-toddler-99843
02/16/2024, 9:52 AMwitty-holiday-65473
02/16/2024, 9:52 AMwitty-holiday-65473
02/16/2024, 9:52 AMbest-toddler-99843
02/16/2024, 9:53 AMwitty-holiday-65473
02/16/2024, 9:56 AMwitty-holiday-65473
02/16/2024, 9:57 AMwitty-holiday-65473
02/16/2024, 9:57 AMwitty-holiday-65473
02/16/2024, 9:57 AMwitty-holiday-65473
02/16/2024, 9:58 AMbest-toddler-99843
02/16/2024, 9:58 AMbest-toddler-99843
02/16/2024, 9:59 AMwitty-holiday-65473
02/16/2024, 10:00 AMwitty-holiday-65473
02/16/2024, 10:00 AMbest-toddler-99843
02/16/2024, 10:01 AMwitty-holiday-65473
02/16/2024, 10:01 AMwitty-holiday-65473
02/16/2024, 10:01 AMbest-toddler-99843
02/16/2024, 10:01 AMwitty-holiday-65473
02/16/2024, 10:02 AMwitty-holiday-65473
02/16/2024, 10:03 AMwitty-holiday-65473
02/16/2024, 10:03 AM+
thing is prolly the first one that will bite you. the `.`s will too. but those are both easily overcome.witty-holiday-65473
02/16/2024, 10:03 AMwitty-holiday-65473
02/16/2024, 10:04 AMbest-toddler-99843
02/16/2024, 10:04 AMbest-toddler-99843
02/16/2024, 10:05 AMwitty-holiday-65473
02/16/2024, 10:05 AMbest-toddler-99843
02/16/2024, 10:05 AMwitty-holiday-65473
02/16/2024, 10:05 AMwitty-holiday-65473
02/16/2024, 10:07 AMbest-toddler-99843
02/16/2024, 10:08 AMwitty-holiday-65473
02/16/2024, 10:09 AMbest-toddler-99843
02/16/2024, 10:09 AMwitty-holiday-65473
02/16/2024, 10:11 AM