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 user
    • POST /tsv/latest/authenticate/totp-code authenticates as the given user using a TOTP code
    • POST /tsv/latest/authenticate/recovery-code authenticates as the given user using a recovery code
    • POST /tsv/latest/status retrieves the status of two-step verification for the authenticated user
    • POST /tsv/latest/elevate-permissions/totp elevates permissions for the authenticated user using a TOTP code
    • POST /tsv/latest/elevate-permissions/recovery-code elevates permissions for the authenticated user using a recovery code
    • POST /tsv/latest/elevate-permissions/password elevates permissions for the authenticated user using a password
    • GET /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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.