- You have received a unique client ID and secret
- You have whitelisted your redirect URL (GET or POST) with SuperOffice
- You have set up a web page at your redirect URL
- The application user has a valid username and password
-
Forward users to the SuperOffice online sign-in page to authenticate.
http://{env}.superoffice.com/login/?app_id=YOUR-APP-ID -
Receive the authentication token when the sign-in page redirects the user back to your application. The HTTP response contains a form in the body:
The hidden input type has name set to SAML or JWT. The value is set to the security token of the corresponding type.
- Validate the authentication token. This is required each time a token is received to ensure that no attacks happened between sending the authentication request and receiving the authentication response.