With OIDC enabled in Kratos — when I log into an e...
# ory-selfhosting
r
With OIDC enabled in Kratos — when I log into an existing account, I get an
extVar('identity')
which I can merge some OIDC data into. But when the user does not exist, then
identity
is not set and my code (in the mapper) throws a hard error. How do I work around this?
Anyone know if more complex ops inside the mappers are possible — so far, from all my research
std.extVar
throws a hard error, so when the identity is not present (new user), my flow fails. Is there any work around to that? Using the current release already.