-
Notifications
You must be signed in to change notification settings - Fork 692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PKCE Code verifier seems to be wrong with latestet version and Angular 12 production build #1117
Comments
The problem was in my angular.json or typescript settings. After adjusting to the latest Angular 12 settings, the production build was ok. |
@loeri Can you describe a bit more, what you have changed in your angular.json and in the typescript settings? I have the same issue and no idea where the issue comes from. |
@loeri / @manfredsteyer Please reopen this issue. We are currently facing the same issue after upgrading Angular
Angular json {
...
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
...
} System information:
=>
|
I have have updated my angular project to the latest angular 12 version and to the latest angular-oauth2-oidc version.
Since then the code flow does not work anymore. My Auth Provider (zaikio.com) sends me an error, when the library wants to read the user token:
PKCE is active for this access grant but code_verifier is not valid
The interesting point is, this only happens, if the app is build with production configuration.
Running with ng serve or building the default configuration everything works ok.
my dependencies are:
The text was updated successfully, but these errors were encountered: