Skip to content

Running on Azure: IdentityServer4.Validation.AuthorizeRequestValidator: Unknown client or not enabled #442

Answered by cuongtong
cuongtong asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, figured out the problem and found a solution. I traced it down to the completeSignin function in autorize.service.ts in the client app. The error is thrown in this function:

public async completeSignIn(url: string): Promise {
try {
await this.ensureUserManagerInitialized();
const user = await this.userManager.signinCallback(url);
this.userSubject.next(user && user.profile);
return this.success(user && user.state);
} catch (error) {
console.log('There was an error signing in: ', error);
return this.error('There was an error signing in.');
}
}

I inspected the error and it said "iat is in the future". I googled that error message and lead me to this one onelogin/onelogin-oidc-node#6 wher…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cuongtong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant