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": "",
        "email_verified": true,
        "exp": 1708530623,
        "family_name": "Test",
        "given_name": "Anton",
        "iat": 1708494623,
        "iss": "",
        "locale": "en",
        "name": "Anton Test",
        "nickname": "anton.test",
        "nonce": "123123123",
        "picture": "",
        "sid": "123123123",
        "sub": "google-oauth2|11111111111111111111111111111",
        "updated_at": "2024-02-20T17:51:49.749Z"

Hey there !

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.