You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
First of. This is my first time implementing OIDC, have that in mind when reading the following, my terminology might be wrong.
So, I'm using the oidc-client library to connect to an auth server from an Angular app. When I try to authenticate to an API, I append the authorization headers like so:
First of. This is my first time implementing OIDC, have that in mind when reading the following, my terminology might be wrong.
So, I'm using the oidc-client library to connect to an auth server from an Angular app. When I try to authenticate to an API, I append the authorization headers like so:
The request looks like this:
The server does not accept
bearerto be in lowercase. If I change toBearerit works:But this doesn't feel right?
If I look at the IETF spec it says:

https://tools.ietf.org/id/draft-ietf-oauth-v2-bearer-13.xml#rfc.section.5.1.1
Am I doing something wrong here? Can I change it to be
Bearerinstead ofbearer?