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

ERR_TOO_MANY_REDIRECTS #24

Open
pingliu opened this issue Aug 6, 2018 · 4 comments
Open

ERR_TOO_MANY_REDIRECTS #24

pingliu opened this issue Aug 6, 2018 · 4 comments

Comments

@pingliu
Copy link
Contributor

pingliu commented Aug 6, 2018

the example has problem:_examples/cas-chi.go
too many redirescts

@pingliu
Copy link
Contributor Author

pingliu commented Aug 6, 2018

#25

@somnmos
Copy link

somnmos commented Apr 10, 2020

does this bug have some progress?

@somnmos
Copy link

somnmos commented Apr 11, 2020

Perhaps the 'bug' was triggered because the cas server only supports the HTTPS protocol, but client not using SSL to validate the ST.

@fanqiewanzi
Copy link

I discovered this problem when I deployed the example on the server, because the ticket used to determine whether the user logged in was used to initiate a verification request to the CAS server. The CAS server would return a piece of XML. After debugging, I found that an error occurred during the parsing of the XML. , Because there is an extra [GMT+08:00] in the XML returned by the CAS server at the verification time, which causes the XML parser to fail to parse, so that it cannot recognize that the user has logged in, but the cookie in the browser recognizes that the user has logged in. The deployed service fails to recognize that the user has logged in, and finally leads to an endless loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants