emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

Endpoint-factory-service getRefreshLoginEndpoint #60

Closed IngoManthey closed 6 years ago

IngoManthey commented 6 years ago

Once this method is called, it can not be used again because the local storage of the refresh token is saved as undefined.

emonney commented 6 years ago

Please provide the steps to reproduce this

IngoManthey commented 6 years ago

The problem is that when the program requests a refresh token it gets a new token but no refresh token. The old one will be overwritten as undefined. But I have read in OpenIddict that in version 2.0.0-rc2 the refresh token is transmitted again.

IngoManthey commented 6 years ago

Hi, the problem is resolve by OpenIddict" Version="2.0.0-rc1-0669

emonney commented 6 years ago

Yes. This is a behavior change in the OpenIddict library that has introduced a bug: https://github.com/openiddict/openiddict-core/issues/462 Fixing...

emonney commented 6 years ago

Fixed in https://github.com/emonney/QuickApp/commit/98f44df7f61d9b5a70a8b90085b9135616773def