Leonardo DR
 · Rookiest rookie

Custom action for Google access token?

Hello everyone, I'm finishing a mobile app and I could use an opinion or two.

I configured an assistant with Vertex AI, and this assistant is accessed via an API containing the prompt and an authorization header bearing the Google access-token. It was great for testing but now I need to provide a token to every user when they're on the assistant page, and my authentication is managed via Supabase. Has anyone encountered a similar case and has suggestions?

For now, I was thinking of creating a custom action to request a token to Google to then access the service, probably on page load.

I posted this on Reddit too.

1
4 replies