View Source (config/ssofy.php)
Set up the API access credentials. (Required for API communication. e.g., Token Verification, User Inquiries, etc.). You can obtain the required credentials from the panel's Application Profile page.
SSOFY_API_DOMAIN=us-1.api.ssofy.com
SSOFY_API_KEY=
SSOFY_API_SECRET=
SSOFY_API_HTTPS=true
The performance of the hybrid token verification strategy can be improved by configuring a cache driver to avoid unnecessary api calls for token verifications.
Set it to one of the cache drivers in the config/cache.php
file.
SSOFY_CACHE_DRIVER=redis
SSOFY_CACHE_TTL=10800
The underlying SSOfy PHP SDK used in this package includes a limited OAuth2 client service optimized for SSOfy. This package includes a middleware, providing a wrapper around this service to manage the redirection and authorization through SSOfy.
Learn about the general Client Parameters configuration.
Note that the built-in client requires a cache driver to be configured in order to store and keep track of the states.
SSOFY_URL=
SSOFY_CLIENT_ID=
SSOFY_CLIENT_SECRET=
SSOFY_STATE_CACHE_DRIVER=
SSOFY_STATE_CACHE_TTL=
Only the url without any suffixes must be provided in the SSOFY_URL
variable. The SDK takes care of the paths internally.
The url can be obtained from the SSOfy Dashboard -> Applications -> Application Profile page.
You may choose the URL based on whether you are developing on a live server or a sandbox server.