ext_provider missing
I'm looking to get the authentication method the user utilized while signing in. I used to be able to get this through the ext_provider claim. I'm not seeing that being returned anymore.
My code essentially looks at this value, indentifies if the user utilized Google or Facebook (my two allowed sign in methods other than email / password). If this isn't available, we assume the user utilized email / password.
The problem is this is no longer coming across as a claim for whatever reason. This means that all of my users appear as though they utilized email / password to sign in, which isn't correct.
How can I tell when a user signs in, what auth provider was used? I need to restore this as soon as possible. I'm not sure how long it has been broken at this point.
Thank you!
3 Replies
G'day @ryno1234. ,
Sorry for the delay on getting a response to you.
Could you please confirm that you have the Social identity additional claim enabled for your ID token in your application? See attached image.
@Yoshify Ahhh shoot. Sorry, that is my fault. :/ I guess my next question is then, is there a way to update this via the API? I'm going to need to set this when creating an application and now, since I've apparently missed this, will need to update it for all of my applications.
Unfortunately this doesn’t appear to be supported by the management API - there is an endpoint to update application tokens, but only their lifetimes, not their additional claims. Sorry mate!