miniOrangeDev / saml-laravel-free

Laravel package for SAML Single Sign On (SSO). The package act as SAML Service Provider (SP). SAML Single Sign On (SSO) for Laravel allows users to sign in to Laravel webapp with your SAML 2.0 capable Identity Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Registration is not working for me

bfuzze opened this issue · comments

commented

When I go to /mo_admin it redirects to register.php and I see File not found.

If I change the endpoint to mo-register in launcher.php and routes.php then it redirects/displays properly.

The issue is with your convention of using .php extensions in your routes. It's not going to work well with many web-server configurations for frameworks which use a central route handler. fcgi is going to redirect these in a way that is not resolvable.

If I change my nginx config location directive from
location ~ \.php$ {
to
location ~ index\.php$ {

Then it works, but I'm not sure what the ramifications are for the rest of the application.

@bfuzze Is it possible to share your nginx config file? I am running into the same issue and for some reason I can't figure it out.

Changing the endpoint does work indeed.

The page comes up but, when I register, it returns an error "ERROR".