Coder Social home page Coder Social logo

Comments (5)

EmilMoe avatar EmilMoe commented on July 29, 2024 1

The issue was laravel sessions have underscore in it. I removed it and that fixed the problem.

from laravel-saml2.

EmilMoe avatar EmilMoe commented on July 29, 2024

To explain further:

I perform Auth::loginUsingId($user->id); according to the ID I got from the server in my login listener.

Everything works so far in Chrome and Firefox, but Internet Explorer and Edge forgets the information about the signed on session to the next page, so the user is not signed on.

Any ideas how I can fix this issue?

It's App\Http\Middleware\Authenticate.php where it has forgotten the login after the listener.

from laravel-saml2.

 avatar commented on July 29, 2024

Could you point out how you fix this issue. I'm facing the same problem.

from laravel-saml2.

EmilMoe avatar EmilMoe commented on July 29, 2024

@jmanuelemus i discovered in Laravel session config that I have to remove underscore _ from that name. Also I have to set app_domain properly.

from laravel-saml2.

pazooni avatar pazooni commented on July 29, 2024

@EmilMoe Did you end up fixing this? If so how exactly?

When logging in it keeps refreshing and generating new tokens eg "domain.com/adfs/ls/?SAMLRequest=jVJNTwIxEL3zK8jeYbe7KqYBEgQ%2FiAgE0IMXU..."

from laravel-saml2.

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.