#Sorry on mobile right now I will have a
1 messages Β· Page 1 of 1 (latest)
thanks. If its stable, how come I am not being able to import it (js)?: import { getServerSession } from 'next-auth' , latest next version? Also, I think I am just plain stupid, I don't get how call backs work. I went through the documentation, I just want to be able to redirect user to previous page, after they login.
next-auth is not distributed along with nextjs. You need to upgrade next-auth as well, that import will work for version 4.19.0 or later
thank you so much!!!
will ask this as well. Bro how is next-pwa suppose to work in ios? I currently have custom install button + that popup but in iphone neither popup comes nor install button works. I did lighthouse test the pwa is 100%
sorry I am not that well versed about PWAs
you will have to ask someone else here
go to #1007476603422527558
no worries. thanks son π
well i'm not your son but okay π
I am kidding. Just love you man! keep it up!
mate one question, I am using next/image even for icons, svgs, logos, is it a good idea?
for svgs next/image works but i prefer just using them directly as part of the html itself
thanks. Also another, with next-auth I can definately do credential + google + facebook right? Was confused on how to do it since official docs, directly imports api/auth/[next-auth]
next-auth works with credentials google and facebook
i dont understand your second sentence
you can import from files under pages as normal
thanks a Ton!
my man, I have been stuck in this for a week, you are my only hope. Please have a look at my issue: https://stackoverflow.com/questions/75651120/next-auth-google-provider-doesnt-work-at-access-blocked-this-app-s-request-is
i have never used next-auth with the google provider so i can't help here
no worries thanks!
once again I am asking for your assistance: https://discord.com/channels/752553802359505017/1082885178910847097
I have never used next-i18next so I canβt help much