goauthentik / goauthentik/authentik

User Attributes in Oauth

Open
#10,935 1 comment 0 reactions 1 assignee Claimed by @dewi-tik View on GitHub
needs_documentation question
Dominant language
Python
Stars
25.6k
Forks
2k
Avg merge
1d 1h
Merged PRs (30d)
644

Description

Hello,

Is there a specific scope to get the custom user attributes from oauth? This is what oauth is returning from the userinfo endpoint-- I need to be able to get access to custom attributes set from the register flow.

```
{
sub: '362452e8c707471dd6fe96120c37b70972e4f6f0e996b6eeef5f1df20168ad2a',
email: 'test@test.com',
email_verified: true,
name: 'Test Account',
given_name: 'Test Account',
preferred_username: 'test',
nickname: 'test',
groups: [ 'Customer Authentication' ]
}
```

Attributes set are showing correctly within Authentik, I'm just not sure how to pass them to oauth.

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.