Getting the Authorization Code

Client: Angular 4
Server: Java

I want to implement a refresh token method, and therefore I’m trying to get an Authorization Code in the client.
The issue is that I don’t received the code value after using the parseHash method (I do get the other values).

  auth0 = new auth0.WebAuth({
    clientID: {{MY CLIENT ID}},
    domain: {{MY DOMAIN}},
    responseType: 'code token id_token',
    redirectUri: {{MY REDIRECT URI}},
    scope: 'profile offline_access',
    autoParseHash: true
  });
  properties = {
    audience: {{audience}},
    connection: {{conection}},
  };


  public handleAuthentication(): void {
    this.auth0.parseHash((err, authResult) => {
.
.
.
}

I’ll appreciate some guidance on the subject,
Thanks.

Hey @talzamir92!

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

This topic was automatically closed after 5 days. New replies are no longer allowed.