Skip to content

Commit 0cac039

Browse files
Merge pull request manfredsteyer#371 from jeroenheijmans/fix/basic-auth-header
Change 'Authentication' to 'Authorization'
2 parents c446b7b + fe5cc59 commit 0cac039

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/lib/src/oauth-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,8 +640,8 @@ export class OAuthService extends AuthConfig {
640640
if (this.useHttpBasicAuthForPasswordFlow) {
641641
const header = btoa(`${this.clientId}:${this.dummyClientSecret}`);
642642
headers = headers.set(
643-
'Authentication',
644-
'BASIC ' + header);
643+
'Authorization',
644+
'Basic ' + header);
645645
}
646646

647647
if (!this.useHttpBasicAuthForPasswordFlow) {

0 commit comments

Comments
 (0)