Action to intercept ID Token on a OIDC flow

I have an application which I will allow customers to configure their internal Id provider via OpenID Connect. I was experimenting with the “Enterprise Connections” where I set up a second Auth0 account (let’s call it “external Auth0”) and everything worked fine out of the box.

However I would like to map some custom claims from the ID Token to the Access Token, similar with what we can do with SAML mappings.
Ideally I would like to intercept the ID Token issued by “external Auth0”, extract the custom claim and add it to the Access Token so that my application can see it.

Is this possible?

thank you
Andre

Hey there!

As this topic is related to Actions and Rules & Hooks are being deprecated soon in favor of Actions, I’m excited to let you know about our next Ask me Anything session in the Forum on Thursday, January 18 with the Rules, Hooks and Actions team on Rules & Hooks and why Actions matter! Submit your questions in the thread above and our esteemed product experts will provide written answers on January 18. Find out more about Rules & Hooks and why Actions matter! Can’t wait to see you there!

Learn more here!