Given the access token, validate the associated user. Will create any required user and workspaces as well, it will upgrade any temporary workspaces to pro accounts.
If no authorization token present, then access is invalid. req.auth.sub
must have the auth0 user id present.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Validation result
The response is of type object
.