Hi. Is there any way to get the original id tokens...
# talk-kratos
b
Hi. Is there any way to get the original id tokens from an upstream oidc provider, during login flows? We would like to keep them for auditing purposes. Does any of the webhooks provide this as payload ?
m
Hello @boundless-state-65031 This is possible during sign-up and new account linking: https://www.ory.sh/docs/kratos/social-signin/get-tokens
For login flow this PR would need to be implemented AFAICT: https://github.com/ory/kratos/issues/1912
b
Thanks, i’ll take a look. The use case is validations against national eID providers to allow critical actions
a
I see two PR's on that issue: Initial draft: https://github.com/ory/kratos/pull/1991 One more: https://github.com/ory/kratos/pull/2428 Can we do anything to help the implementation? Is it just pending review now?