Why is the AbpUserTokens table always empty
See original GitHub issue- Your Abp package version. 4.60
- Your base framework: .Net Framework or .Net Core. .Net Core 2.2
- Exception message and stack trace if available. Empty
- Steps needed to reproduce the problem.
User tokens are created when users login or API provider, but there is no data in the abpusertokens table of the database. Some article introduces that setting the following code in the module can clean up the data in the abpusertokens table regularly。
public override void PreInitialize() { Configuration.BackgroundJobs.IsJobExecutionEnabled = true; }
but when was the data in this table created? If the system does not automatically create the data of this table, can I write my own code to create it, and setConfiguration.BackgroundJobs.IsJobExecutionEnabled = true;
to make the background process automatically works
Thank you for taking the time to answer my questions
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
AbpUserLogins and AbpUserTokens always empty? #6364
I realized my AbpUserLogins and AbpUserTokens tables are always empty. What are these two tables for? Thanks,
Read more >How to persist the granted user tokens from IdentityServer4 ...
See the AbpUserTokens table is empty. Restart the server and lose your ... You should always persist the key to the database or...
Read more >aspnetboilerplate - how to stop ABP from querying EMPTY ...
I would like to disable all calls to this table. making 50 millions requests to database to receive an empty set is not...
Read more >Has anyone use the AbP framework? What do you think of it?
For example I can't find any inheritance for entities, table structures as so abstracted out that relationships are all in the code.
Read more >Background Jobs and Workers
ABP Framework defines a background worker named UserTokenExpirationWorker which cleans the records in table AbpUserTokens. If you disable background job ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The problem has been solved. Thank you very much!
I’m still trying. If it doesn’t work out, I’ll open it later. Thank you