Auth0 lock - Authorization Flow

Which code flow does the auth0-lock use?

  1. Authorization Code Flow - https://auth0.com/docs/get-started/authentication-and-authorization-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.