serlo / infrastructure-modules-shared

Apache License 2.0
4 stars 1 forks source link

first login with NBP account: investigate why undefined instead of UUID when clicking on "eigenes Profil" #41

Closed AndreasHuber closed 1 year ago

hugotiburtino commented 1 year ago

fixed by #40

AndreasHuber commented 1 year ago

For documentation: We had found from the code example of https://www.ory.sh/docs/kratos/hooks/configure-hooks#trigger-precedence that the "general" hooks are only executed in case the "specific" hooks - like password in the example or oidc in our case - do not apply. To always have the hook be executed, we therefore had to copy it from the "general" hooks also to the oidc hooks.