I’m building an SPA React app.
My users are authenticated through Auth0 SPA mode.
The goal here is to store some users’ data using a GCP Healthcare API, on behalf of users.
The GCP Healthcare API offer 2 solutions for auth :
- OAuth 2.0 (but, if I understand well, for Google accounts, not for my Auth0 accounts)
- Service Accounts (allowing to craft a Bearer JWT)
There isn’t any other “backend”.
How I could wire everything together ?
I’ve tried to add the GCP JWT to Auth0 hooks/flow/rules … but I didn’t succeed to get it in the React App
I don’t really understand how to achieve this purpose …