How to identify whether user is coming from passwordless login or normal login

How I can identify whether tge user is coming ftom passwordless login or other login in auth0. Any suggestion

If you create a custom rule as part of the context information made available to the rule code you’ll have information about the connection associated to the user currently performing the login (https://auth0.com/docs/rules/references/context-object). You can then even to choose to include that information in one of the issued tokens through the means of a custom claim (https://auth0.com/docs/api-auth/tutorials/adoption/scope-custom-claims#custom-claims). If you think this could be relevant to your situation I would recommend that you check the outcome when considering login with linked accounts in order to see if the outcome continues to meet your expectations independently of which linked identity is used to login.

1 Like

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