Debugging and Built-in Events #1303
panva
started this conversation in
Community Guides
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Note
Author: @big-kahuna-burger
Target version: ^9.0.0
Warning
No guarantees this is bug-free, if you find a bug please comment on the discussion
To get started with event listeners here is an example, which can be further expanded.
Usecases for this include:
This example subscribes to all events the oidc-provider emits.
Add an event listeners handler
Example events-listeners.js implementation
How to debug any event triggered from oidc-provider?
DEBUG=oidc-provider:*- to simply include all events subscribed by the example above as well as built-in debug eventsDEBUG=oidc-provider:events:access_token.destroyedDEBUG=oidc-provider:events:access_token.destroyed,oidc-provider:events:access_token.savedDEBUG=oidc-provider:events:access_token.*DEBUG=oidc:event:interaction.*,oidc:event:authorization.*Beta Was this translation helpful? Give feedback.
All reactions