ory / kratos-selfservice-ui-node

Apache License 2.0
314 stars 207 forks source link

Custom claims #337

Open OskarsPakers opened 3 months ago

OskarsPakers commented 3 months ago

Preflight checklist

Ory Network Project

No response

Describe your problem

I am using Ory Hydra, Ory Kratos and self service ui node as I don`t want to customize UI yet. I have identity traits that does not get mapped into id_token issued by hydra - personal id, phone number etc.

Describe your ideal solution

There is a environment variable that lists identity traits that are mapped to id_token so that self service ui node docker container shouldn`t bet forked in order to add custom claims.

Workarounds or alternatives

Fork a https://github.com/ory/kratos-selfservice-ui-node repository and map claims in consent.ts file

Version

v0.14.0

Additional Context

No response