jasny / sso

Simple Single Sign-On for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Site Hangs

jariesdev opened this issue · comments

Hi, I'm developing a Wordpress and Laravel site in which I need to setup SSO and Laravel 5.5 is the main user server. Using wordpress do request to laravel via API route (Laravel cant accept json request from web route so I went api route). Now, here is my problem, actually the server is a Portal which user can normally login, I want to use broker at the same time there, but when the PHP $broker->login('user@fake.com', '1234') the server hangs or maybe infinite loop/request somewhere, the browser never stop loading.

Is my setup correct or is there a proper way to implement it. Thank you in advance.