All the examples I have found focus on using Auth0 access tokens for all requests to an API. I want to use the Auth0 access token to make the initial request to the BaaS, get their token for the user, and use that token for subsequent request to the back-end.
Of course, I can implement this in my client, but I’d rather implement this completely on the Auth0 side. Ideally, the user logs in (using Auth0 lock), and the token I get back also includes my BaaS token.
Does anyone have any pointers how to implement this completely inside Auth0?