Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions 10.Server-integration/01.Using-the-apis/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,11 @@ curl -H "Authorization: Bearer $JWT" -X DELETE -k $MENDER_SERVER_URI/api/managem
!! change. This is because the token contains information about your current plan,
!! and it will become invalid upon upgrade.

!! WARNING: Personal access tokens are not automatically revoked for users who are disabled in an identity provider. If using single sign on, users personal access tokens must be revoked separately.

### Session Token

If you are using SSO then Personal Access Tokens are not an option to you.
As such, you can still access the APIs and use mender-cli using a Session Token.
To get the session token navigate to [your profile](https://hosted.mender.io/ui/settings/my-profile) and under "Session token" click "COPY TO CLIPBOARD".
Then use this token anywhere that the Personal Access Token should be used.

Session Tokens have the same validity span as a JWT generated using the login endpoint:
* With "Keep me signed in" they are valid for 24 hours
Expand Down