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.