nuxt-auth-utils
nuxt-auth-utils copied to clipboard
Separate Providers for different parts of the application
Question
I want to have 2 separate sets of sets of authentication strategies. For example:
- One set of pages that are accessible to regular users
- One set of pages that are accessible to admin users
Let's say I use Keycloak. And I want to use 2 separate realms for this kind of solution. The users one that supports sign-up, where as the admin ones that don't. How would I go about it? I am familiar with Keycloak side of things. But from what I understand I can only have a single EventHandler for each provider when using this nuxt-auth-utils module. Would that assumption be correct?
Any suggestion or direction for this would be much appreciated.
PS: Love the work this repo/community is doing. Kudos to you!
any update on this?