-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect parameters to authorize
in docs
#700
Comments
|
hi do you know why login did not redirect in android when logins was Successful? |
@objectiveSee thanks a lot for raising this. We will make the API cleaner to use. |
@felipem292 can you create a seperate issue with more details? |
@objectiveSee thanks for reporting this. We have fixed this in this PR - #701 Please check it out and let us know your feedback. We will close this issue to continue the conversation in the PR. |
Same issue here, is there any feedback? |
@ysheep-js we would require more details. Can you create a seperate Github issue with more details asked in the issues template. |
Ok, I'll create a new one, thanks. |
@ysheep-js @felipem292 Did you follow the migration guide on updating the callback URL? |
Yes, I have added |
@ysheep-js It would be helpful if you can share the code snippet, a screen recording, whether this issue is happening only in version 3.0.0 and more details we would be happy to help. Please create a seperate GH issue to make it easier to track |
i'm using "react-native-auth0": "^2.17.4" |
Checklist
Description
In README, the example you have provided for using
authorize()
is not correct. There are two required parameters which cannot be omited in Typescript.https://github.com/auth0/react-native-auth0/blob/master/README.md?plain=1#L280
The correct usage would be:
Empty objects must be passed because
parameters
andoptions
are not optional.Solution: Update docs. Or, update
authorize
to take a single object with optional parameters such as:Change this:
to this:
Reproduction
See README
Additional context
No response
react-native-auth0 version
3.0.0
React Native version
72.3
Expo version
49
Platform
Android, iOS
Platform version(s)
any
The text was updated successfully, but these errors were encountered: