Custom field to userinfo for user

Is it possible to add the custom field to userinfo ? i want to add smthng like Company name

{
    "access_token": "",
    "expires_at": 1708581023,
    "expires_in": 86400,
    "id_token": "",
    "scope": "openid profile email",
    "token_type": "Bearer",
    "userinfo": {
        "aud": "123",
        "email": "anton.test@my-company.com",
        "email_verified": true,
        "exp": 1708530623,
        "family_name": "Test",
        "given_name": "Anton",
        "iat": 1708494623,
        "iss": "https://dev-testiss.us.auth0.com/",
        "locale": "en",
        "name": "Anton Test",
        "nickname": "anton.test",
        "nonce": "123123123",
        "picture": "https://lh3.googleusercontent.com/a/ACg8ocIxuKOUXgjeWH6QsdsEcz8nk_ANOvz_wcQkpxjLQpDtZ=s96-c",
        "sid": "123123123",
        "sub": "google-oauth2|11111111111111111111111111111",
        "updated_at": "2024-02-20T17:51:49.749Z"
    }
}

Hey there @toshuk.kr !

Yes, this should be possible by adding a custom claim to id tokens as userinfo mirrors this data:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.