Feature Request: Expose a method to change auth tenant at runtime #2717
joelmeaders
started this conversation in
Ideas
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.
-
Hey there, first of all, many thanks for this great project!
I'd like a way to change the auth tenant at runtime based on dynamic data. I know there's an injection token
TENANT_ID
but I'd like to support two use cases in particular.For the second use case I can get it to partially work (without Router) via the DI token and the method below but it's static and won't react to route changes unless there's a full page reload.
Beta Was this translation helpful? Give feedback.
All reactions