Obrigado pela resposta.

Como disse anteriormente, estou testando o plugin jasny/sso no Laravel 5.4. Foram criados 3 projetos: server, client1 e client2.

Eu sobrescrevi o método createCacheAdapter() no Server para que o cache seja criado na pasta C:\TMP no Windows. No teste que estou realizando, a pasta cache chega a ser criada, porém o client recebe uma mensagem de erro:

(1/1) NotAttachedException

The broker session id isn’t attached to a user session

in Client1Broker.php (line 55) at Client1Broker->request(‘GET’, ‘userInfo’)

in Broker.php (line 268) at Broker->getUserInfo()

in Client1Broker.php (line 78) at Client1Broker->loginCurrentUser()

in RedirectIfAuthenticated.php (line 25)

Abaixo segue o log do client:

[Thu Aug 24 17:29:13 2017] ::1:53130 [200]: /
[Thu Aug 24 17:29:14 2017] ::1:53150 [200]: /favicon.ico
[Thu Aug 24 17:29:17 2017] ::1:53157 [307]: /login
[Thu Aug 24 17:29:25 2017] ::1:53178 [500]: /login?sso_error=Invalid%20checksum

E aqui o log do server:

[Thu Aug 24 17:29:23 2017] ::1:53162 [307]: /?command=attach&broker=12345&token=6uvg5l2zgbwogc0s0oow8g4oo&checksum=e2a998554cba46fc67ac357f82df5cec325ea6c54f2c95c708ca338b49aab856&return_url=http%3A%2F%2Flocalhost%3A9001%2Flogin
[Thu Aug 24 17:29:24 2017] ::1:53181 [403]: /?command=userInfo

Saberia o que pode ser?

Eu coloquei a instrução abaixo nas classes RedirectIfAuthenticated e Handler (Exceptions):

$broker = new Client1Broker();
$broker->loginCurrentUser();

Eu segui os passos deste tutorial: https://github.com/awnali/SSO-laravel-5

Qualquer ajuda será muito bem vinda!

Obrigado novamente!

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade