lundi 25 janvier 2021

adjusting laravel's timeout settings for basic access authentication

According to https://laravel.com/docs/7.x/authentication#http-basic-authentication Laravel supports basic HTTP authentication.

According to https://tools.ietf.org/html/rfc7235#section-6.2 "Clients that have been idle for an extended period, following which the server might wish to cause the client to re-prompt the user for credentials".

My questions is... can the length of this "extended period" be adjusted in Laravel? If so how would I do that? And what happens if a new Docker container is launched and then a client who had been connecting to one container suddenly connects to this new Docker container? Will the client be reprompted to login in that scenario? If so how could I make it so that it wouldn't do that?

I'm running Laravel 5.5.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire