-
Notifications
You must be signed in to change notification settings - Fork 450
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
Sign in with apple is doesn't work with react native #2216
Comments
+1 for this issue. Looks like they don't support React Native officially. IMO, they should have a fallback using react-native/expo Linking. This issue is 2 mo. old and it's pretty sad for me it has still no reaction. Especially, when Apple enforces us to support Apple Sign In option along with others like Google Sign In. Although, they support expo-session-storage to set session var. It's unclear to me how to send a token obtained from the Google/Apple oAuth. |
I don't know if this will help (given the code ^^^ isn't checking whether
|
One more note: while I love Nhost, RN support has been an issue for the 15 months before Jan '23 as well :-|. Though there are a few souls on Discord who are a great help! |
Apologies for not responding. Unfortunately there are way too many frameworks and submodes within those frameworks with lots of different quirks and we have limited resources. As it is probably obvious we don't officially support react native at this point but we have plans to take a look into it during 2024Q1. Again, apologies for not responding. Hopefully we can get this sorted soon. |
@dbarrosop so here we are 2024Q1, any updates? React Native is a huge community guys and providing support will be a giant bonus. I'm using Clerk because this lack of RN support, unfortunately. |
No updates yet, this work is scheduled for late March (assuming priorities don't change due to unforeseen circumstances). In the meantime, people can leverage the API directly while we try to make our sdk compatible with react native. Given that everything is opensource, PRs are also more than welcomed. Sorry and thanks for your patience. |
Hello, using the api for signup-email-password the url given in the documentation is I am unable to use this api when i replace |
you may be missing the region if you are only replacing the subdomain, for instance:
|
Update: This url is working. |
We are currently working on this. Stay tuned to updates here. |
Describe the bug
I'm attempting to use Sign in with Apple with nhost. When I attempt to call:
nhost.auth.signIn({ provider: "apple" });
I get an error:I've configured the nhost client as directed in the docs with an identifier, callback urls, team ids etc.
To Reproduce
React Native with expo v48
Steps to reproduce the behavior:
nhost.auth.signIn({ provider: "apple" });
Expected behavior
I'd expect to see an option to log in with apple.
Screenshots
Desktop (please complete the following information):
Additional context
I've been having a discussion in Discord and was told I'm using the React SDK instead of the JS one however, this is not the case. I'm directly using the JS sdk now.
I've also pulled my config from the nhost dashboard locally and that doesn't seem to help. I'm able to get Auth working fine with Firebase Auth but want to keep everything in nhost. I'll also note, I'd probably just use the API to set everything up but there is no documentation on how authentication works in nhost (that I'm aware of) it's more like, go code diving in our repository and figure it out). which is starting to take it's toll on productivity since I can't really just look things up.
Anyway, I've lost the better part of week on this problem and so am trying here. Has anyone been able to get login working with React Native and Nhost?
The text was updated successfully, but these errors were encountered: