Linked Identities - which was used to login?

If we have a user with multiple identities linked - can we determine which one was used to login to a react app with?

const { user } = useAuth0(); is always the primary even if I authenticated with a secondary identity…

exports.onExecutePostLogin = async (event, api) => {
    
    api.idToken.setCustomClaim("auth_connection_name", event.connection.name);
    
};

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.