An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

[![codecov](https://img.shields.io/codecov/c/github/GSingh01/ad-b2c-react-native)](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)