GithubHelp home page GithubHelp logo

ERR_TOO_MANY_REDIRECTS about cas HOT 7 CLOSED

go-cas avatar go-cas commented on July 23, 2024
ERR_TOO_MANY_REDIRECTS

from cas.

Comments (7)

Antimidget avatar Antimidget commented on July 23, 2024

No longer an issue, Network configuration issue

from cas.

zsr228 avatar zsr228 commented on July 23, 2024

No longer an issue, Network configuration issue

I want to know, how did you solve it

from cas.

Antimidget avatar Antimidget commented on July 23, 2024

I don't remember exactly, it was to do with DNS lookup not returning the CAS server, i had to use the ip address.

Sorry to say i no longer have access to the code i was writing as it's ownership was the company i was working for at the time

from cas.

zsr228 avatar zsr228 commented on July 23, 2024

I don't remember exactly, it was to do with DNS lookup not returning the CAS server, i had to use the ip address.

Sorry to say i no longer have access to the code i was writing as it's ownership was the company i was working for at the time

I have used ip address, but it still occur TOO_MANY_REDIRECTS and I find cas.IsAuthenticated(r) always returns false

from cas.

geoffgarside avatar geoffgarside commented on July 23, 2024

This would likely occur if the authenticating application (calling cas.IsAuthenticated) cannot communicate (request /serviceValidate) with the CAS server. It may interpret this as not-authenticated so redirects the client to the CAS server to login. The CAS server thinks the user is logged in as the TGT cookie is present, so redirects the client back to the Application.

from cas.

zsr228 avatar zsr228 commented on July 23, 2024

This would likely occur if the authenticating application (calling cas.IsAuthenticated) cannot communicate (request /serviceValidate) with the CAS server. It may interpret this as not-authenticated so redirects the client to the CAS server to login. The CAS server thinks the user is logged in as the TGT cookie is present, so redirects the client back to the Application.

yes, you are right。when I use cas.IsAuthenticated funcation it return false, so I use client.RedirectToLogin function, then occur TOO_MANY_REDIRECTS。 but why cas.IsAuthenticated always return false 。

from cas.

zsr228 avatar zsr228 commented on July 23, 2024

This would likely occur if the authenticating application (calling cas.IsAuthenticated) cannot communicate (request /serviceValidate) with the CAS server. It may interpret this as not-authenticated so redirects the client to the CAS server to login. The CAS server thinks the user is logged in as the TGT cookie is present, so redirects the client back to the Application.

I found, before new this client, we require register this client to cas。

from cas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.