Ang2
Easy Authentication with AUTH0

Parsing the Hash

PRO

When a user logs in with Auth0 they get redirected to our application with their authentication information in the hash fragment of the URL. We now need to parse this information so it can be used in our app. The most important pieces that we'll need for our purposes include the access token, ID token, and time until the access token expires.