The auth header type should be taken from the openID Connect capabilities #543
Labels
enhancement
stale
For marking issues as stale. Labeled issues will be closed soon if label is not removed.
See #509 (review)
When authenticating using openID Connect, the headers that are sent to the kinto server are using
Bearer
, which is hardcoded. Instead it should use theheader_type
from the capabilities, eg:Fixing this might also fix the review from @leplatrem about the ugliness of splitting/concatenating strings to get the auth type and provider for openID Connect. If we can pass the full "provider capability" object, we'll be able to extract both the provider name and the header type.
The text was updated successfully, but these errors were encountered: