Configurations Breakdown

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.

📌 Info

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=

📌 Info

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.

ssofy Knowledge Base
At our core, we believe that staying up-to-date with the latest trends and advancements in Authentication and related areas is essential. That's why we take great pride in keeping you informed with the latest insights, updates, and news in this rapidly evolving landscape.


Do you need support?
SSOfy is by Cubelet Ltd.
Copyright © 2024 Cubelet Ltd. All rights reserved.