OAuth 2.0 Implicit Grant flow
From PiRho Knowledgebase
Don't use the Implicit Grant Flow any more! Most web browsers now block 3rd Party cookies so the authentication pages don't work properly. Microsoft does not allow its authentication dialog to open in an I-frame. The only way to use the Implicit Grant Flow is to redirect the whole page to refresh the token. Reference: [Stack Overflow: authContext.login() causes “ Refused to display ‘login.microsoftonline.com…’ in a frame because it set ‘X-Frame-Options’ to ‘deny’ ”]