Sign In button throwing an error
nreddipalle opened this issue · 0 comments
nreddipalle commented
Please provide us with the following information:
This issue is for a: (mark with an x
)
- [ ] bug report -> please search issues before submitting
- [ ] question
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Followed the registration steps for both the apps https://github.com/Azure-Samples/active-directory-b2c-javascript-nodejs-webapi and https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa#register-the-client-app-javascript-spa.
When trying to hit sign in post registration shows me an error
ServerError: invalid_request: undefined - [undefined]: AADB2C90079: Clients must send a client_secret when redeeming a confidential grant.
Correlation ID: 0f27a2ef-25eb-4283-b3c3-f1688f9a7d94
Timestamp: 2021-04-06 04:04:18Z
- Correlation ID: undefined - Trace ID: undefined
at ServerError.AuthError [as constructor] (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:216:28)
at new ServerError (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:3319:32)
at ResponseHandler.validateTokenResponse (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:4508:23)
at AuthorizationCodeClient. (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:4759:45)
at step (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:181:27)
at Object.next (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:162:57)
at fulfilled (https://alcdn.msftauth.net/browser/2.7.0/js/msal-browser.js:152:62)
I looked into previous closed issues and found similar issues but those resolutions did not help me..
Any log messages given by the failure
Expected/desired behavior
Browser and version?
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.