Amazon interview question

Explain the Security concepts like OAuth2 flow