question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 set Configuration.BackgroundJobs.IsJobExecutionEnabled = true; to make the background process automatically works

Thank you for taking the time to answer my questions

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cunzhucommented, Oct 22, 2019

The problem has been solved. Thank you very much!

1reaction
cunzhucommented, Oct 21, 2019

I’m still trying. If it doesn’t work out, I’ll open it later. Thank you

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found