Skip to content

on2media/oauth2-sso-client-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth2 Single Sign-On Client Demo

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.

Setup

Toggle Client and ClientLite demos by changing $usingLite in bootstrap.php.

Client

Add a client to the provider:

  • redirect_uri - callback.php
  • sso_auth_url - authenticate.php
  • sso_home_url - sign-in.php

ClientLite

Add a client to the provider:

  • sso_home_url - signed-out.php

About

Demonstration of an OAuth2 single sign-on client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages