eikek / eikek/docspell

OIDC does not use email claim for new accounts

Open
#2,293 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elm
Stars
2.3k
Forks
184
Avg merge
8h 2m
Merged PRs (30d)
4

Description

A user created in Docspell through an OIDC login does not get an email address, even though the JWT includes the email:

```
{
[…]
"docspell_collective": "ACME",
"email": "martin.krafft@example.org",
"email_verified": true,
"name": "Martin Krafft",
"given_name": "Martin Krafft",
"preferred_username": "Martin.Krafft",
"nickname": "Martin.Krafft",
[…]
}
```

Especially if `email_verified` is true, the `email` field should be used for the new user.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.