View on GitHub

WPI User Hub

WPI User Hub

Authentication

Provides way to authenticate user. Requires correct configuration in auth.json to properly interface with the Portal.

GET /v1/auth/signin/{code}

Redirects the user for authentication.

Params

Responses

GET /v1/auth/verify/{code}

Internal, used to pass user back to User Hub before directing to client. Also creates the user if they are not found in the DB.

Params

Responses

GET /v1/auth/signout

Destroys provided token.

Params

Responses