nuxt-auth-utils icon indicating copy to clipboard operation
nuxt-auth-utils copied to clipboard

Separate Providers for different parts of the application

Open abasu0713 opened this issue 1 year ago • 1 comments

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!

abasu0713 avatar Dec 24 '24 20:12 abasu0713

any update on this?

abasu0713 avatar Jan 02 '25 20:01 abasu0713