Token Authentication

This is an optional endpoint for token-based authentication.

An example usecase would be logging in the user by a link sent to their email.

Consider the following specs in designing your token authentication endpoint:

URLanything
MethodPOST
HeadersContent-Type, Signature
FormatJSON
AttributeTypeRequired
tokenstringYes
ipstringNo
CodeDescription
200Success
401Unauthorized
400Signature/Input validation Failed

SSOfy utilizes the HTTP Status code to verify the result.

The response must be of the type Auth Response and include the user object.

📌 Info

Since the authentication is a step before the authorization, it's a good idea to send SSOfy only the user information that is required to be displayed on the login page, such as the user's display name and profile(optional).

ssofyKnowledge 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.