Download the PHP package arckinteractive/elgg_oauth_sso without Composer
On this page you can find all versions of the php package arckinteractive/elgg_oauth_sso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download arckinteractive/elgg_oauth_sso
More information about arckinteractive/elgg_oauth_sso
Files in arckinteractive/elgg_oauth_sso
Download arckinteractive/elgg_oauth_sso
More information about arckinteractive/elgg_oauth_sso
Files in arckinteractive/elgg_oauth_sso
Vendor arckinteractive
Package elgg_oauth_sso
Short Description Allows other sites/services to implement SSO using the Elgg as the source of truth for user info
License
Package elgg_oauth_sso
Short Description Allows other sites/services to implement SSO using the Elgg as the source of truth for user info
License
Please rate this library. Is it a good library?
Informations about the package elgg_oauth_sso
Oauth Server
Allows other sites to use the elgg server as an oauth identity manager
- Register a new application at
/admin/applications - Authorize the user by having them log in at
[url]/oauth/authorize?client_id=xxxxxxxx&state=xxxxxxxx&response_type=code&scope=userwhere client_id is the generated id of the application, and the state is a random string to prevent CSRF attacks - The user will log in if necessary and authorize the application
- The user will be redirected back to the redirect_uri with the original state in a query param and a code:
[redirect_uri]?state=xxxxxx&code=xxxxxxxx -
Make a POST request to
/oauth/tokenwith body params of -
The result will be an access token
- The access token in the header:
Authorization: Bearer 369e27dae447d3856fc538a217536b186cea1bc3for future OAuth api calls -
Retrieve the user info from the GET endpoint
/oauth/api/me - Use the refresh token to get a fresh access token if necessary, make a POST request to
/oauth/tokenwith body params of
All versions of elgg_oauth_sso with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
composer/installers Version ~1.0
bshaffer/oauth2-server-php Version ^1.11
composer/installers Version ~1.0
bshaffer/oauth2-server-php Version ^1.11
The package arckinteractive/elgg_oauth_sso contains the following files
Loading the files please wait ...