Skip to content

useHttpBasicAuthForPasswordFlow not working when refreshToken #488

Open
@97lynk

Description

@97lynk

Hi everybody!
I use password flow for OAuth2.
I've configured with useHttpBasicAuthForPasswordFlow: true, it works fine with fetchTokenUsingPasswordFlow.
But when I want to refresh the token, stop as it does not work

 this.oauthService.events.subscribe (e => {
      console.log ('oauth / oidc event', e);
      if (e.type == 'token_expires') this.oauthService.refreshToken (). then (value => console.log (value));
    };

I checked the Http Request Header, which does not have the Authorization header with Basic.
Please help me. Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestImprovements and additions to the library.password-flowIssues specific to the (Resource Owner) Password flow

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions