openmobilehub / react-native-omh-auth

https://openmobilehub.github.io/react-native-omh-auth/
Apache License 2.0
7 stars 2 forks source link


React Native OMH Auth

NPM downloads NPM version License

Chat on Discord Follow on Twitter


React Native OMH Auth streamlines connecting your React Native app to authentication provider services by providing lightweight bridges to native OMH Auth SDKs on both iOS and Android. Supporting both Google Mobile Services (GMS) and non-GMS configurations, with a unified interface for easy incorporation of Google, Facebook, Microsoft, Dropbox and other supported third-party authentication providers.

Features

OMH Auth Modules

This is the main directory of the mono-repo for React Native OMH Auth. If you're searching for a particular package, please click on the corresponding package link below.

A single codebase, running seamlessly on any device

For instance, the following screenshots showcase multiple devices with Android, both with GMS and Non-GMS, and iOS. The same app works without changing a single line of code, supporting multiple auth provider implementations.

| Android GMS Device | Android Non GMS Device | iOS Device | |-------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_gms.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_non_gms.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_ios.gif) |
Show more Android: | Facebook login | Microsoft login | Dropbox login | |--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------| | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_facebook_android.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_ms_android.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_dropbox_android.gif) | iOS: | Facebook login | Microsoft login | Dropbox login | |----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------| | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_facebook_ios.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_ms_ios.gif) | ![](https://github.com/openmobilehub/react-native-omh-auth/blob/main/assets/auth_dropbox_ios.gif) |

Documentation

Contributing

License