workos / authkit

The world's best login box powered by WorkOS and Radix.
https://authkit.com
MIT License
2.3k stars 89 forks source link

Mobile native #7

Closed ollym closed 11 months ago

ollym commented 11 months ago

Any plans for a mobile native implementation? ios/android

pmarsceill commented 11 months ago

Hey @ollym, while we don’t currently have SDKs available for iOS or Android, you can integrate your app by presenting AuthKit in an in-app browser and redirecting to your server-side redirect URL. The redirect endpoint would exchange the authorization code for a user and you could create a JWT containing the user info, and then pass it to the app via a custom url scheme, like app://successful-login/?jwt=abcde.

Let me know if you have questions, we're currently working on documenting paths for native app development.