You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues and found no similar issues.
What happened
when use sso login type, refresh login page and click sso login button, will dialog a error tips: State or code entered incorrectly. because the request url: login/sso will be requested when front page refresh every time, but when session attr not null, will not save new random code, so this bug will happen!
What you expected to happen
anytime click sso button will successful login
How to reproduce
api server set login type: CASDOOR_SSO , goto login page , when this page loaded, refresh page, then click sso button, when auth success and redirect to login page, will dialog an error tips: State or code entered incorrectly
Search before asking
What happened
when use sso login type, refresh login page and click sso login button, will dialog a error tips: State or code entered incorrectly. because the request url: login/sso will be requested when front page refresh every time, but when session attr not null, will not save new random code, so this bug will happen!
What you expected to happen
anytime click sso button will successful login
How to reproduce
api server set login type: CASDOOR_SSO , goto login page , when this page loaded, refresh page, then click sso button, when auth success and redirect to login page, will dialog an error tips: State or code entered incorrectly
Anything else
No response
Version
3.2.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: