A demo client utilising our OAuth2 Single Sign-On Client to show how to sign in using your own custom sign in form.
This is our SSO equivalent of Resource Owner Password Credentials so should only be used for your own applications. It is ideal during migration from direct authentication as providing that you assign your client to it’s users (at the SSO service) the use of the SSO service should be invisible to the end user.
If you would prefer to show your SSO service’s sign in form you can utilise the normal
OAuth2 Authorization Code flow to sign in or use ClientLite
.
Toggle Client
and ClientLite
demos by changing $usingLite
in bootstrap.php.
Add a client to the provider:
- redirect_uri - callback.php
- sso_auth_url - authenticate.php
- sso_home_url - sign-in.php
Add a client to the provider:
- sso_home_url - signed-out.php