mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
[PR #888] [MERGED] Fix to retrieve oidcEmailAttribute from tokenSet.claims() if not found in standard userInfo #1136
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/888
Author: @marcomatrella
Created: 9/20/2024
Status: ✅ Merged
Merged: 9/20/2024
Merged by: @meltyshev
Base:
master← Head:OIDC_CLAIMS_SOURCE📝 Commits (1)
1d32537MM - Restore modifications made to add OIDC_CLAIMS_SOURCE to handle userInfo/id_token📊 Changes
7 files changed (+46 additions, -29 deletions)
View changed files
📝
docker-compose-dev.yml(+1 -0)📝
docker-compose.yml(+1 -0)📝
server/.env.sample(+1 -0)📝
server/api/controllers/access-tokens/exchange-using-oidc.js(+4 -4)📝
server/api/helpers/users/get-or-create-one-using-oidc.js(+36 -23)📝
server/api/helpers/utils/send-webhooks.js(+2 -2)📝
server/config/custom.js(+1 -0)📄 Description
Add OIDC_CLAIMS_SOURCE parameter [id_token,userInfo] to retrieve the claims from the id_token or another call to the userInfo API
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.