Hi All, please help me i’m new be with okta, the moment i’m implementing SSO with Okta, but i have the problem below
and the configuration
but after okta callback to my app and then i call
oktaAuth.token.parseFromUrl()
.then((tokens) => {
tokens.forEach((token) => {
console.log(token);
if (token.idToken) {
oktaAuth.tokenManager.add(‘id_token’, token);
} else if (token.accessToken) {
oktaAuth.tokenManager.add(‘access_token’, token);
}
});
})
.catch(console.error);
it’s alway return 401, i dont know what happen with it, any suggestion for me thanks