I recently found next-auth for authenticating nextjs applications. For authentication of my foobar next js application I use providers like google, facebook, twitter or etc provided by next-auth and it is ok but one thing that I want to know is how to authenticate using same providers - google, facebook, twitter or etc- on other applications? As an example my foobar nextjs web application has Google sign in and Facebook sign in. If I want to develop mobile application using react native or flutter how to handle Google sign in or Facebook sign in to be authenticated by next-auth api endpoints?
NextAuth is specifically built for next.js applications. If you want your users to sign-in with OAuth providers like Google, Facebook, etc. in your react native or flutter applications, you'd have to use another oauth solution.
This is a very common thing to do though and those providers might even have SDK's or tutorials in their docs.
For example, a quick google resulted in the following promising looking alternatives:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With