identityserver3 - Identityserver4 database, token and production -
i implemented ef identity server following link https://github.com/identityserver/identityserver4.entityframework
i see many tables/entities not single table tokens. https://github.com/identityserver/identityserver4.entityframework/tree/dev/src/identityserver4.entityframework/entities
is correct behavior production? how can token in database or not needed on production?
thanks
persistedgrants table tokens stored. keep in mind reference tokens, refresh tokens , authorization code being saved security reasons. see entries in table once user logs in successfully. see this further refrences!
you can implement own implementation grant store , add in startup this:
services.addtransient<ipersistedgrantstore, mypersistedgrantstore>
Comments
Post a Comment