Closed erenasigli closed 5 months ago
hi @erenasigli, thank you for your issue.
Are you able to reproduce the issue one the online demo ? https://black-rock-0dc6b0d03.1.azurestaticapps.net/
Hello @guillaume-chervet
First of all I am sorry for my late response and hank you for your time and interest. I couldn't reproduce the issue on the online demo. However issue got resolved, I just changed the redirect URL to some other URL(which is not exists in the app) and it worked.
Thank you.
Thank you @erenasigli may you close the issue?
Issue and Steps to Reproduce
First of all, thank you for this great library and thank you for your help in advance. Successfully installed react-oidc library to our project. Followed instructions on readme page and completed all necessary configurations.
Our problem is: After successfully logged in to the application. Everything goes normal, but when I refresh the page, an error pops out (Error authentication,An error occurred during authentication.) In the developer console, I found out that, /connect/token endpoint returns 400 bad request.
identityserverUrl/connect/token
I am suspecting that code and code_verifier fields are null that causing the problem but unable to find out why that fields are going null. I also don't know why after refresh it request to get the token. I reckon that token is already acquired by serviceworker.
We are using IdentityServer4( with QuickStartUI) and it's client configuration as following;
And react-oidc configuration is like;
What am I doing wrong or missing. Thank you for your time and patience.
Versions
7.3.15
Screenshots
Expected
After I refresh the page, everything should go normal.
With love and all respect. Thank you.