Create a User based on a role #192
Answered
by
Podolyan98
Podolyan98
asked this question in
Q&A
-
I have a user in Keycloak with the role Support. In Django I create a custom user model:
I use this model to extend the Support model:
@wagnerdelima Is there a way to create a User based on their Keycloak role during authentication? Maybe something like this:
|
Beta Was this translation helpful? Give feedback.
Answered by
Podolyan98
Jul 26, 2023
Replies: 1 comment
-
Solved this using a custom pipeline:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Podolyan98
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Solved this using a custom pipeline: