Awesome man! Seems like a great course, I feel like it would be useful for many of you added in a module about adding Stripe as well as most web apps, SaaS, etc would require payments somehow
@friendly__drone93522 ай бұрын
I"m loving these Astro videos!
@CodinginPublic2 ай бұрын
Glad you like them! Go Astro!
@real_igbo_land20 минут бұрын
Hi Chris nice Tutorial. Have been following along to implement your example in one of my own projects but got a XHR POST 404 not found at the /_actions/when logging in or registering. Obviously followed by a JSON Parse error. 😞 Downloaded your finished project file and got the same error. Any idea whats going on? Am looking for project documentation on astro actions, but cant really find any. Could you help out?
@lostinthenarrativve2 ай бұрын
Hey man, can you do supabase+Astro next? or lucia.
@emirelesАй бұрын
In case you or someone else tries this. I encountered an issue when trying this with Supabase where the error would not pass down from the action since it comes wrapped in a AuthError class. To handle it just use the function isAuthApiError() to check if there is an error returned from the call and then you can throw an ActionError() to actually pass it down the action response when using the .safe() method in the action call. Hope this helps someone :)
@SabahRahal-m2qАй бұрын
Excellent video, I followed the steps and I have a problem, when I log in and enter from another session (any other device), the application understands as if I were logged in, any recommendations?
@oktubr32 ай бұрын
You rock man! Thank you!!!
@CodinginPublic2 ай бұрын
Glad it was a help!
@bobbyb641227 күн бұрын
does this just use firebase for auth? could the rest of your routes / site point to a totally different service?
@CodinginPublic23 күн бұрын
sure, if you want!
@palockocz2 ай бұрын
Only output server can be used or also output hybrid?
@CodinginPublic2 ай бұрын
Also hybrid. Just make sure you mark routes you need SSR with prerender = false
@Ryujin_001Ай бұрын
Bro after deploy to vercel auth.currentUser is null. Login signup and logout works well but never load the profile page because of the null currentUser
@CodinginPublic23 күн бұрын
Have you figured this out? I'd likely have to see your code?