Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

403
Views
How to retrieve all active access tokens attached to a delegation from event listener context

I am currently trying to do some operations in an event listener where I need all access tokens linked to a refresh token. Is it possible to retrieve these access tokens from the context or am I required to interact with the data source in the event listener?

EDIT: This is regarding the Curity Identity Server.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Some related topics below - if you can provide more info about your use case we can perhaps provide further details:

REVOKING TOKENS

If you want to revoke all access tokens for a refresh token then you cannot do this via script procedures. You would need to write a small plugin to interact with the data source and delete the delegation.

LISTENERS

An example event listener is referenced in the below resources, though the use case is not around getting all access tokens in a refresh token:

  • Article
  • Code

CACHING INTROSPECTION RESPONSES

It is recommended to cache introspection responses, and this is commonly done in the reverse proxy, as in this LUA plugin.

Perhaps the simplest option is to give the cache entries a short time to live, meaning they will be only be available for a short time after revocation. Requiring immediate clearing of cached tokens would require more work, but hopefully the above techniques will help.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!