Skip to content

Commit

Permalink
fixup! [IMP] auth_oidc: test group assignment/removal
Browse files Browse the repository at this point in the history
  • Loading branch information
OdyX committed Sep 13, 2024
1 parent a81bce0 commit a242ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth_oidc/demo/local_keycloak.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
name="jwks_uri"
>http://localhost:8080/auth/realms/master/protocol/openid-connect/certs</field>
</record>
<record id="local_keycloak_group_line" model="auth.oauth.provider.group_line">
<record id="local_keycloak_group_line_name_is_test" model="auth.oauth.provider.group_line">
<field name="provider_id" ref="local_keycloak" />
<field name="group_id" ref="base.group_no_one" />
<field name="expression">token['name'] == 'test'</field>
</record>
<record id="local_keycloak_group_line" model="auth.oauth.provider.group_line">
<record id="local_keycloak_group_line_erp_manager_in_groups" model="auth.oauth.provider.group_line">
<field name="provider_id" ref="local_keycloak" />
<field name="group_id" ref="base.group_erp_manager" />
<field name="expression">'erp_manager' in token['groups']</field>
Expand Down

0 comments on commit a242ae4

Please sign in to comment.