Two-step verification REST API
Bamboo 10.1 has implemented two-step verification, which includes new REST API for authentication and a new login screen. For plugins that interact with the pre-existing login screen, it is worth noting that compatibility may break and changes will be required.
Some key REST API additions worth calling out:
POST /tsv/latest/authenticate
authenticates as the given userPOST /tsv/latest/authenticate/totp-code
authenticates as the given user using a TOTP codePOST /tsv/latest/authenticate/recovery-code
authenticates as the given user using a recovery codePOST /tsv/latest/status
retrieves the status of two-step verification for the authenticated userPOST /tsv/latest/elevate-permissions/totp
elevates permissions for the authenticated user using a TOTP codePOST /tsv/latest/elevate-permissions/recovery-code
elevates permissions for the authenticated user using a recovery codePOST /tsv/latest/elevate-permissions/password
elevates permissions for the authenticated user using a passwordGET /authconfig/latest/login-options
returns a list of available login options, which contains details about the metadata required for the login page
All new REST API related to two-step verification and the new login screen can be found under 'Authentication'.
Last modified on Nov 20, 2024
Powered by Confluence and Scroll Viewport.