You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WildFly
Thanks in advance. I just implemented the oidc system which was so fluent.
My goal is to implement the Authorization Code flow where OIDC_IDP handles user identity, and WildFly retrieves roles and permission from a local DB. I have mapped the Id and the roles in my database and according to which our application will know the authZ.
Problem I am facing. I am now encountering 400 invalid_grant errors and infinite redirect loops, despite ensuring the Allowed Callback URLs in OIDC_IDP exactly match the redirect URIs observed in the browser network logs.
What I Did: Created a JDBC Realm: configured to query user_role table using the OIDC sub ID (oidc_id column) to fetch roles.
I also tried using aggregate-realm and mapped authN and authZ realm but, later found out this is not the best practice.
How can I solve this problem and what is the best practice to follow? Wildfly version that I am using is 26.1.2