Giter Club home page Giter Club logo

Comments (7)

luxflux avatar luxflux commented on July 26, 2024

I think you would have to set a cookie with the login data so CASino can detect whether the client is logged in. @pencil, do you know which cookie and which format is needed?

from casino.

jayshao830413 avatar jayshao830413 commented on July 26, 2024

@luxflux , Thanks for you anwser. I have compared with two different conditions, i see when visit cas.xxx.com/login ,and do login, I see tgt in cookies. But by visiting RestClient.post("cas.xxx.com/login", {:username => "xxx", :password => "xxx", :lt => "xxx"}) from my client side, after successful doing that , I didnt' see tgt in cookies. Maybe thats why it didn't work

from casino.

pencil avatar pencil commented on July 26, 2024

You would have to set a cookie with the TGT that CASino can read yourself.

from casino.

jayshao830413 avatar jayshao830413 commented on July 26, 2024

Thanks @pencil : )

from casino.

luxflux avatar luxflux commented on July 26, 2024

This seems to be resolved. Closing...

from casino.

nicolasiensen avatar nicolasiensen commented on July 26, 2024

I suggested a new way to auto login user in #46

from casino.

nicolasiensen avatar nicolasiensen commented on July 26, 2024

@pencil What do you mean with: set the TGT cookie? Could you give an example of how is the right way to write on this cookie in order to login an user with Casino?

from casino.

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.