miniOrangeDev/saml-laravel-free

Registration is not working for me

bfuzze opened this issue · 2 comments

bfuzze 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".