sonyarouje / react-native-ad-b2c

React Native library for Azure Active Directory B2C
12 stars 6 forks source link

you did not added any information about the to add this lib into my project #7

Open sultan-arshi opened 3 years ago

sultan-arshi commented 3 years ago

you did not added any information about the to add this lib into my project can you please tell me how i can use your effort thanks

sonyarouje commented 3 years ago

Sample code in the readme.md is how to use this code. Here I copied all the files to auth-ad-js directory

and import them in a component which does login like below

import B2CAuthentication from "../auth-ad-js/ReactNativeADB2C"; import LoginView from "../auth-ad-js/LoginView";

sultan-arshi commented 3 years ago

can you please tell me the athurity and policies ? where i can make it? i have made tentent and application in it and then i also set up the ios call back url then i also have tried the "Expose an API" and API permissions

sultan-arshi commented 3 years ago

i have set up all the things can you please tell me what is the client_secret: "<key set in application/key>", ?

sultan-arshi commented 3 years ago

how can i send extraQueryParameters in with ti as i have custom policies to set up and i also need to send some extraQueryParameters with request

sonyarouje commented 3 years ago

I havent tried passing any extra query parameters