iver-wharf / wharf-api

Wharf backend written in Go
MIT License
1 stars 0 forks source link

Can't use OIDC and BasicAuth together #189

Open applejag opened 2 years ago

applejag commented 2 years ago

The OIDC JWT validation and BasicAuth are handled separately. They need some kind of meta middleware that can redirect to the correct auth validator, depending on the HTTP auth header scope (e.g Bearer vs Basic)

This fix should be correlated with #188 so that the gRPC endpoint also supports either if both is enabled.