We are having trouble migrating a login flow to Ory Network that uses the Google Javascript SDK.
Is it possible to achieve the following with Ory Network?
1. obtain a google access token from Google using the Google SDK
2. log the user in to ory network in the background without the user having to take any extra action, or see any extra screens
We need the Google access token from step 1 to use Google APIs. We don't want to store Google refresh tokens on a backend, which rules out using
initial_refresh_token.
It's possible to build this flow in
Supabase or
Auth0 by:
1. Obtain google token
2. Log user in to Supabase or Auth0 with a login_hint that is passed to Google
Is it possible to achieve something similar with Ory Network?