You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want my login request to be validated by an SSO backend.
Description
Create and implement the following API endpoints:
/sso for creating and signing SSO JWTs when supplied correct username and password information. It will be supplied with an email, password, and redirect URL.
/auth for verifying SSO JWTs and creating and signing corresponding identity JWTs. It will be supplied with an SSO JWT and a redirect URL.
/identity for verifying and decoding identity JWTs. It will be supplied with an identity JWT.
Acceptance Criteria
/sso returns a 401 if supplied with an invalid username/password pair
/sso returns an authorization cookie containing a signed SSO JWT if supplied with a valid username/password pair
/auth returns a redirect to platform.utdnebula.com/signin if not supplied with a valid SSO JWT
/auth returns a redirect to the supplied URL, with an identity JWT as a query parameter, if supplied with a valid SSO JWT.
/identity returns a 401 if it is not supplied with a valid identity JWT.
/identity returns the payload of a supplied valid identity JWT.
/sso and /auth sign their JWTs with unique secrets.
Story
As a user, I want my login request to be validated by an SSO backend.
Description
Create and implement the following API endpoints:
/sso
for creating and signing SSO JWTs when supplied correct username and password information. It will be supplied with an email, password, and redirect URL./auth
for verifying SSO JWTs and creating and signing corresponding identity JWTs. It will be supplied with an SSO JWT and a redirect URL./identity
for verifying and decoding identity JWTs. It will be supplied with an identity JWT.Acceptance Criteria
/sso
returns a 401 if supplied with an invalid username/password pair/sso
returns an authorization cookie containing a signed SSO JWT if supplied with a valid username/password pair/auth
returns a redirect to platform.utdnebula.com/signin if not supplied with a valid SSO JWT/auth
returns a redirect to the supplied URL, with an identity JWT as a query parameter, if supplied with a valid SSO JWT./identity
returns a 401 if it is not supplied with a valid identity JWT./identity
returns the payload of a supplied valid identity JWT./sso
and/auth
sign their JWTs with unique secrets.Notes
This article describes a possible implementation.
The text was updated successfully, but these errors were encountered: