Skip to content
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

[Bug] [API] SSO login bug #16668

Open
3 tasks done
mzxc opened this issue Sep 27, 2024 · 1 comment · May be fixed by #16669
Open
3 tasks done

[Bug] [API] SSO login bug #16668

mzxc opened this issue Sep 27, 2024 · 1 comment · May be fixed by #16669
Assignees
Labels
backend bug Something isn't working

Comments

@mzxc
Copy link

mzxc commented Sep 27, 2024

Search before asking

  • 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

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@mzxc mzxc added bug Something isn't working Waiting for reply Waiting for reply labels Sep 27, 2024
@mzxc mzxc linked a pull request Sep 27, 2024 that will close this issue
@SbloodyS SbloodyS added backend and removed Waiting for reply Waiting for reply labels Sep 27, 2024
@mzxc mzxc closed this as completed Sep 27, 2024
@mzxc
Copy link
Author

mzxc commented Sep 27, 2024

fixed in 3.3.0

@davidzollo davidzollo reopened this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants