I asked this question on SO which is related to this.
In this question, I propose exchanging a token from my OIDC provider for a token in my own custom OIDC provider, which becomes the ultimate token directly referencing the database user.
What's the best way to tackle this problem in general - I can't be the first person who's run into this, right?
Identity-Provider -> Auth0connection. I'm trying to create a
Auth0 -> Applicationconnection, such that there's a
Identity-Provider -> Auth0 -> ApplicationFlow, where the ultimate user is stored in the Application - not Auth0.