Skip to content

Small sample repo reproducing issue in @manfredsteyer/angular-oauth2-oidc when stopping and resuming automatic refresh of access tokens

Notifications You must be signed in to change notification settings

Ceteareth/angular-oauth2-oidc-automatic-refresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage

IdentityServer4

Either run the solution in VS, or with dotnet run.
Username/password is alice/alice.

Angular Client

Run npm install && npm start.
Client is already configured to communicate with in-memory client defined in IDS4 with a 60 second access token.

Problem

When clicking "Stop automatic refresh" and "Start automatic refresh" a couple of times, it seems the internal timers that should be unsubscribed start running again, firing off increasing numbers of calls to the token endpoint, which breaks functionality when not re-using refresh tokens.

About

Small sample repo reproducing issue in @manfredsteyer/angular-oauth2-oidc when stopping and resuming automatic refresh of access tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published