Skip to content

Commit

Permalink
Add keycloak idp mapper for picture attribute (#480)
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinlu3 authored Nov 21, 2024
1 parent c6cb0c9 commit 288ad33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion src/main/docker/realm-config/oncokb-curation-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,19 @@
}
}
],
"identityProviderMappers": [],
"identityProviderMappers": [
{
"id": "4f2bdff6-b374-472a-9ede-afcc575c311b",
"name": "picture",
"identityProviderAlias": "google",
"identityProviderMapper": "google-user-attribute-mapper",
"config": {
"syncMode": "INHERIT",
"jsonField": "picture",
"userAttribute": "picture"
}
}
],
"components": {
"org.keycloak.services.clientregistration.policy.ClientRegistrationPolicy": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/config/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ jhipster:
license: 'Terms of Use'
license-url: 'https://www.oncokb.org/terms'
security:
content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com https://*.firebaseio.com https://www.googletagmanager.com https://*.heapanalytics.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: https://*.google.com https://heapanalytics.com; font-src 'self' data: https://cdnjs.cloudflare.com; connect-src 'self' ws://*.firebaseio.com https://*;"
content-security-policy: "default-src 'self'; frame-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://storage.googleapis.com https://*.firebaseio.com https://www.googletagmanager.com https://*.heapanalytics.com; style-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; img-src 'self' data: https://*.google.com https://heapanalytics.com https://*.googleusercontent.com; font-src 'self' data: https://cdnjs.cloudflare.com; connect-src 'self' ws://*.firebaseio.com https://*;"
oauth2:
audience:
- account
Expand Down

0 comments on commit 288ad33

Please sign in to comment.