Skip to content

Blueapi Authorization #1383

Closed
Closed

Description

@ZohebShaikh

AuthZ in blueapi for tiled insertion

After careful deliberation on token exchange, The decision has been made that we will use service account with write_access for a specific beamline for insertion of documents from blueapi to tiled. More explanation in the above PR.

The main issue in token exchange was that the a authorised task could only insert documents into tiled for a max of 10 hrs after which the session would expire.

From token exchange docs

Token exchange never creates a new user session.

To make sure that the plan is authorised and valid to run we will need to have authZ checks in blueapi. This check will happen when the users submits a task.
There are no other authZ checks implemented apart from this in blueapi (as of now), which will have the following implications:-

  • Any user can run a authorised task
  • Any user can delete a authorised task.
    This checks can be implemented after the metadata about the user has been added in Add User to Run Metadata #1380

Activity

  1. changed the title [-]Blueapi Authoization[/-] [+]Blueapi Authorization[/+] on Feb 13, 2026
  2. ZohebShaikh commented on Aug 7, 2026

    @ZohebShaikh
    ContributorAuthor

    This feature has been released in v1.18.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions