Auth0 Interview Question

Explain how OAuth protocol works?