Auth0 lock - Authorization Flow

Which code flow does the auth0-lock use?

  1. Authorization Code Flow - Authorization Code Flow
  2. Resource Owner Password Flow - Resource Owner Password Flow

Hi there @dheerajdhall2709 !

In almost all cases Authorization Code Flow will be used by default - This is the recommended approach.

@tyf Great! Is it a modified version of this ?

the authorize endpoint comes before the login prompt in case of Authorization Code Flow. In case of auth0-lock it comes in later, after the user enters their credentials. It’s the credentials part that had me confused.

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