Skip to content

Validate id token on service account token request #53

@j-zimnowoda

Description

@j-zimnowoda

Is your feature request related to a problem? Please describe.
Currently, there is no identity validation on GET /tokens/{saNme} request
It means that any malicious actor can request SA token, if SA has been already created.

Describe the solution you'd like to see

  • add Authorization header that contains ID token for GET /tokens/<sa-name> request,
  • validate Authorization header content by validating ID token signature.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions