Skip to content
SESAME
Menu

Install#

Requirements#

  • PHP 8.3 or newer (^8.3).
  • The simplexml extension (ext-simplexml).
  • A PSR-18 HTTP client for the cas, oauth2 and oidc drivers (and saml with a metadata URL): Guzzle or symfony/http-client. SESAME suggests one, it does not require one.

Install#

composer require waynestate/sesame

Verify#

The quickest proof that SESAME is active is a sign-in. In local development, configure the fake driver (the Quick start walks through it), then call:

$user = sesame_login();

Expected: when the login has not completed, SESAME sends the redirect to the identity provider and stops the script; when the user is already signed in and the request has no ticket, it returns the user. With the fake driver that is the user your resolver made from the configured username, jdoe in the Quick start.

Next steps#