Issue a new AppUserIdToken
Issues a new AppUserIdToken
to be used as a bearer token for authenticating app user traffic. Can only be used with Anon-hosted UserPools. In this case, Anon serves as your identity provider, issuing and validating tokens for your users. For each app user you want to connect to Anon, call this endpoint with that user’s ID to issue an AppUserIdToken that they can use for authentication with Anon. This credential is sensitive and can be used to access that user’s sessions, so it should be stored securely or not at all. You may call this route whenever you need to issue a new AppUserIdToken (for example, upon login or token expiration). Duplicate calls with the same user ID will refresh the expiration, but will have no other effects. Takes an optional exp
iration; this defaults to 6 months from time of issuing.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Response
Was this page helpful?