Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Turn middleware-broker Client Into a Service Account #4

@DiCanio

Description

@DiCanio

We are currently trying to secure the endpoints of the feasibility backend as described in num-codex/codex-feasibility-backend#20.

So, in the future anyone who wants to use the backend has to provide a bearer token to do so. This holds true for the frontend as well. However, the access token used by the frontend should differ from the one that the user holds for simply using the frontend itself. Thus, the frontend needs to be able to obtain another access token for talking to the backend.

This can be done using the designated middleware-broker client already configured. However, this client needs to be turned into a service account for the frontend to be able to request an access token without the standard auth flow that includes a login form, re-routing etc.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions