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

no client code found in cookie #4

Open
tedr56 opened this issue Jun 26, 2023 · 1 comment
Open

no client code found in cookie #4

tedr56 opened this issue Jun 26, 2023 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@tedr56
Copy link

tedr56 commented Jun 26, 2023

Hi.
I'm trying to setup this plugin.
After many tries with my docker-composes I think all is good but I'm getting this error.
Redirection and login are working but I'm stuck in a loop asking to authenticate.
I'm suspecting casdoor cookie has change and no longer has the code in it.
My cookie only contain this:

casdoor_session_id :"6646b4ca50353b1226d9cf7d1395f970"
  Date de création :"Mon, 26 Jun 2023 13:06:07 GMT"
  Dernier accès :"Mon, 26 Jun 2023 13:06:07 GMT"
  Domain :"casdoor.***.***"
  Expiration / Durée maximum :"Wed, 26 Jul 2023 13:06:07 GMT"
  HostOnly :true
  HttpOnly :true
  Path :"/"
  SameSite :"None"
  Secure :false
  Taille :50

The logs I'm getting from this plugin:

[GIN] 2023/06/26 - 12:46:04 | 307 |      79.922µs |   192.168.1.134 | GET      "/auth"
[GIN] 2023/06/26 - 13:06:07 | 307 |      85.527µs |   192.168.1.134 | GET      "/callback?code=cbec9cbbb044de42eb67&state=8887774801280284163"
no client code found in cookie

Thanks for any help.

@casbin-bot
Copy link

@casbin-bot casbin-bot added the question Further information is requested label Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants