You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I just got my instance working today. After some problems with the login screen not displaying that I solved described in my Issue I opened before.
Now I am able to register/login as first user, but the ones I invite after don't receive the invitation e-mail. Is there something new been added yesterday that has yet to be documented? or am I doing something wrong?
Thanks in advance
PS. Invites are enabled in the variables file.
Hello, I just got my instance working today. After some problems with the login screen not displaying that I solved described in my Issue I opened before. Now I am able to register/login as first user, but the ones I invite after don't receive the invitation e-mail. Is there something new been added yesterday that has yet to be documented? or am I doing something wrong? Thanks in advance PS. Invites are enabled in the variables file.
Pretty sure that's unrelated to this issue as this issue is for enabling an "invite-only" mode.
Okay, taking a look: next-auth sure doesn't make this easy.
We can't hook in before a user is created across all adapters & auth mechanisms.
The createUser event is fired AFTER the user is created but we can hook before individual providers I guess..
Email: sendVerificationRequest can check if the flag is set and if the user already exists before it sends the verification request?
Various other providers are all over the place.
We could wrap the prisma provider and disallow the createUser helper if an env var is set.
yes, the smtp is configured correctly. I think it is some kind of weird bug having to do with Safari on iOS.
Both of the users weren't getting the e-mail for login and both of them were using Safari on iOS. I tried logging in for them on my Macbook and they received the e-mail with the token.
After they added the PWA to their home screens they tried logging in on their own and it worked.
This is why I think it had to do with Safari on iOS, but it might also just be coincidence.
Activity
KMKoushik commentedon Jan 25, 2025
thank you
ivanzgroot commentedon Jan 26, 2025
Hello, I just got my instance working today. After some problems with the login screen not displaying that I solved described in my Issue I opened before.
Now I am able to register/login as first user, but the ones I invite after don't receive the invitation e-mail. Is there something new been added yesterday that has yet to be documented? or am I doing something wrong?
Thanks in advance
PS. Invites are enabled in the variables file.
imnotjames commentedon Jan 26, 2025
Pretty sure that's unrelated to this issue as this issue is for enabling an "invite-only" mode.
imnotjames commentedon Jan 26, 2025
Okay, taking a look:
next-authsure doesn't make this easy.We can't hook in before a user is created across all adapters & auth mechanisms.
The
createUserevent is fired AFTER the user is created but we can hook before individual providers I guess..Email:
sendVerificationRequestcan check if the flag is set and if the user already exists before it sends the verification request?Various other providers are all over the place.
We could wrap the prisma provider and disallow the
createUserhelper if an env var is set.KMKoushik commentedon Jan 26, 2025
@ivanzgroot regarding invite email, did you add the smtp details?
https://github.com/oss-apps/split-pro/blob/main/.env.example#L37
ivanzgroot commentedon Jan 26, 2025
yes, the smtp is configured correctly. I think it is some kind of weird bug having to do with Safari on iOS.
Both of the users weren't getting the e-mail for login and both of them were using Safari on iOS. I tried logging in for them on my Macbook and they received the e-mail with the token.
After they added the PWA to their home screens they tried logging in on their own and it worked.
This is why I think it had to do with Safari on iOS, but it might also just be coincidence.
KMKoushik commentedon Jan 27, 2025
i would say it's coincidence cuz, pwa still opens in safari
KMKoushik commentedon Jan 27, 2025
also as @imnotjames mentioned, can you see the email from your email account?