Users, Workspaces, API Keys, and more.
accessKeyId
for a user always starts with the prefix US
, while the accessKeyId
for a workspace starts with the prefix WO
, which helps identify the resource owner type.sub
is the user identifier, aud
is the intended audience, and access
contains a list of workspaces and their associated roles.
Refresh tokens have the specific function of obtaining new access tokens upon expiry. They possess longer lifespans than access tokens, potentially spanning days, weeks, or months, minimizing the frequency with which users need to re-enter their credentials. Due to their extended validity, refresh tokens warrant secure storage and careful management.
By default, refresh tokens are issued with a 24-hour expiration time. You can adjust this value to suit your security requirements.
An example of a refresh token:
sub
is the user identifier, and the aud
is the intended audience.
fonoster.identity.v1beta2.Identity.GetPublicKey
gRPC endpoint and use it to validate a token.
The verification process involves two steps: first, confirming the token’s signature using the correct private key, and second, validating claims such as the issuer, intended audience, and expiration time to establish the token’s overall validity.