You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to allow users to use their additional emails (identities) returned in id_token from identity provider.
How I would go about it? As far as I saw the id_token is not stored in the session so hooking into login_after to create those additional identities will not work (or I'm wrong?)
The text was updated successfully, but these errors were encountered:
`oauth_login`: triggered after successful authentication via OAuth, providing token and identity information
`oauth_refresh_token`: triggered after the OAuth access token was refreshed
@thomascube I'm getting back to this issue, I was able to use this hook but I have problem with rcmail->user->insert_identity().
From what I was able to gather, at the time when this hook is fired the user instance has no ID set and inserting the identity fails.
I haven't read through all the code so I'm not sure how to deal with this issue. What would you propose? Is there any obvious way?
Hi, I would like to allow users to use their additional emails (identities) returned in id_token from identity provider.
How I would go about it? As far as I saw the id_token is not stored in the session so hooking into
login_after
to create those additional identities will not work (or I'm wrong?)The text was updated successfully, but these errors were encountered: