https://github.com/gsingh01/ad-b2c-react-native
React Native Azure B2C Auth using pure js. This doesn't require eject from Expo.
https://github.com/gsingh01/ad-b2c-react-native
ad-b2c adb2c b2c ejectless expo react-native
Last synced: 3 months ago
JSON representation
React Native Azure B2C Auth using pure js. This doesn't require eject from Expo.
- Host: GitHub
- URL: https://github.com/gsingh01/ad-b2c-react-native
- Owner: GSingh01
- License: mit
- Created: 2019-09-22T19:18:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T23:46:12.000Z (about 3 years ago)
- Last Synced: 2025-09-29T17:48:31.291Z (8 months ago)
- Topics: ad-b2c, adb2c, b2c, ejectless, expo, react-native
- Language: JavaScript
- Size: 3.07 MB
- Stars: 60
- Watchers: 6
- Forks: 35
- Open Issues: 17
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://codecov.io/gh/GSingh01/ad-b2c-react-native)
React Native Azure AD B2C solution using Pure JS. If you are using expo you dont need to eject.
Thanks to https://github.com/sonyarouje/react-native-ad-b2c and https://github.com/wkh237/react-native-azure-ad packages for the inspiration.
Feel free to contribute or sponsor. :)
> **Note**: The version 2.X is not compatible with 1.X version. For 1.x docs, visit https://www.npmjs.com/package/ad-b2c-react-native -> Versions
## Contribute
Create a fork and after cloning locally, do following
1. Yarn install
2. Create packages/b2c-sample/env/config.js with following
```
export default config = {
authTenant: "",
authAppId: "",
};
```
3. Add your changes to packages/lib
4. Run packages/b2c-sample to do runtime test, by
```
//cmd in root folder
yarn start
//for more options: root -> package.json -> scripts
```
## Installation
> Don't forget to **install peer dependencies** "expo-web-browser": "^10.1.0", "react": "^17.0.1"
```
npm i ad-b2c-react-native -S
```
## API
[View here](/packages/lib/readme.md)