Implementing oAuth flows with the Capacitor Browser #4979
Unanswered
leo-petrucci
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I've gotten close with Capacitor and Supabase: https://cjweed.com/capacitor-supabase-social-auth-react/ But I still haven't figured out how to tell the app to open the browser in the in-app browser. This flow uses the currently installed browser which can cause some issues:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone successfully managed to get an oAuth flow working with Capacitor?
So far I've got:
I was then thinking of having a specific landing page API side which would listen to an event once the callback was complete, that would then close the browser, but according to the docs close() is only available on web and iOS???
What does this mean? Can I not close the in-app browser from my app code? Any workarounds?
Beta Was this translation helpful? Give feedback.
All reactions