The following corresponds to the Ocean middle-end services for the Unified Login.

Verify

<aside> 💡

Take a look inside the verify process: https://miro.com/app/board/uXjVOdpLrPQ=/?moveToWidget=3458764608535233131&cot=14

</aside>

Using the global token, it creates the session in ocean and selects an account to the user.

method: GET

path: /ocean-auth-service/verify

Possible responses:

Authorization

  1. Validate that both the global token and the ocean token are valid tokens and correspond to a current session.
  2. In addition, passing one (or more) “PermissionsKeyName” will validate that the user has those permissions.

method: POST

path: /ocean-auth-service/authorization

Possible responses:

403 forbidden. User does not have any of the permissions listed in permissionsKeyNames.

401 unauthorized. User does not have valid tokens.

Logout