Identityserver4: why IPersistedGrantStore does not work with SQL storage ???

Created on 5 Jul 2017  路  6Comments  路  Source: IdentityServer/IdentityServer4

I was following the documentation tutorial and the topic "Using EntityFramework Core for configuration data" indicates that the configurations can be stored in the base, but the problem is that following the documentation the only thing that works for me are the configurations of client, scope, user.

the Storage of the PersistedGrant when the application is deployed, is still handled in memory

How do I make the IPersistedGrantStore not to be handled in memory??

If someone owns in a git repository an implementation of the IPersistedGrantStore that can facilitate me would be very helpful.

question

Most helpful comment

If I want to do load balancing
How do you configure two IDENTITYSERVER4 servers to make the tokens work in either?

All 6 comments

Using the QuickStarts example, the DB table PersistensGrand always passes empty even though users log in and ask for a token in the application
image

How is the acces_token stored in the SQL database?

Only reference tokens, user consent, authorisation codes, and refresh tokens are stored in this table. If you're sending out the full JWT then you won't see the access token in this table.

If I want to do load balancing
How do you configure two IDENTITYSERVER4 servers to make the tokens work in either?

please open a new issue if the docs are missing what you need.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

agilenut picture agilenut  路  3Comments

user1336 picture user1336  路  3Comments

createroftheearth picture createroftheearth  路  3Comments

chrisrestall picture chrisrestall  路  3Comments

eshorgan picture eshorgan  路  3Comments