Description
In the openEO API spec we currently require bearer tokens of the format oidc/{provider_id}/{token}
or basic//{token}
:
Lines 6714 to 6721 in c5a45b4
My view is a bit limited and openEO biased, but it seems there is growing convention to use a JWT access token as bearer token in the Authorization
header, and authentication/authorization related tooling (e.g. security/authorization gateways) builds on that assumption.
The custom prefix format we currently use of course conflicts with that.
I wonder if we can figure something out to make the openEO API more compatible with that assumption/convention.
e.g.:
- if basic auth is disabled and there is only one OIDC provider active: it's allowed to omit the prefix
- split off the method and OIDC provider to a different request header
This would clearly be a breaking change, so not something in scope of the standard openEO API spec v1.x.
But maybe it could be an optional extension in some way.
(This came up again in another EOEPCA meeting, so I though it would be good to kick off some discussion here or at least have a pointer to that aspect)