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
supabase.auth.admin.generateLink regression #22562
Comments
I am experiencing the same problem in production which started around the same time. But I was not able to reproduce it locally |
I am also experiencing this issue, just started trying to use this feature in my app and it does not work. Doesn't work in local or production. I just updated to 2.42.4 and restarted my docker for local dev and still have the issue.. The error returned is AuthApiError: User not allowed It was a valid email address entered. Same error using 'invite' or 'magiclink' Using OSX, Chrome. |
OK, it appears this was my fault, I have it working, I didn't use the service_role_key in my SB client, my bad. |
I updated my local environment and the issue has been resolved, so closing this. latest versions that are working again
|
there is a related issue but the encountered error seems to be different
magiclink auth.admin.generateLink occasionally fails to create a user when it does not exist
#22521
Describe the bug
A clear and concise description of what the bug is.
running this in a cloud function used to create an invite link that i could send to a user via email or whats app to create a new user in supabse. After updating my local development environment to the following:
this is not working anymore. the generateLink call throws this error
The api call should create a new user, but its somehow checking if the user already exists, which it shouldn't (and also didn't do before).
If changing the type to 'magiclink' the call works and a new user is generated as expected, which should be the same behaviour for 'invite'.
To Reproduce
create a cloud function and use the service key to create the supabase client, than call the create link function
Expected behavior
a new user is created when calling generateLink as in previous versions of supabase.
System information
The text was updated successfully, but these errors were encountered: