Implement OAuth2 implicit flow