You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not finding that something similar exists in v4.
Describe the ideal solution
Ability to customize the auth handlers in v4.
The handleLogout() helper is an important piece of this. We need the ability to write our own custom code and then rely on the default auth handler as a fallback, or in addition to our custom code.
Alternatives and current workarounds
Depends on the use case, but as far as I can tell, there is no way to run custom code in the middle of those new auth handlers, /auth/logout, for example.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the problem you'd like to have solved
In v3, we could customize the auth handlers in
/api/auth/[auth0]
via something like:Reference:
I'm not finding that something similar exists in v4.
Describe the ideal solution
Ability to customize the auth handlers in v4.
The
handleLogout()
helper is an important piece of this. We need the ability to write our own custom code and then rely on the default auth handler as a fallback, or in addition to our custom code.Alternatives and current workarounds
Depends on the use case, but as far as I can tell, there is no way to run custom code in the middle of those new auth handlers,
/auth/logout
, for example.Additional context
No response
The text was updated successfully, but these errors were encountered: