Skip to content

[AI] Explore the possibility of an authorization middleware #23160

@pls78

Description

@pls78

Currently, each callback contacting the AI API follows the same pattern:

  1. get or request access token
  2. try the request to the AI API
  3. handles authorization exceptions

Would it be possible to abstract this flow into a middleware between the callback and the AI API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions