Identify connection method in okta widget

I’d like to identify wich connection method (facebook, google, …) an user choosed in the okta widget in an angular app. Is it possible ?

1 Like

I also would like to know. Maybe is it possible from the callback ?

If this is an OIDC application, you should see an idp parameter come back in the user’s ID token which will match the idp id for the identity provider the user used to create their Okta session.

If you have a custom authorization server, you could potentially use Token Inline Hooks to make this even more readable and have the hook endpoint convert the IdP ID (from the aforementioned idp claim) to the name/type of Identity Provider used and store that in the token directly.