#How to add authentication to Astro

8 messages ยท Page 1 of 1 (latest)

finite turtle
#

Hi everyone!, I'm looking for a way to add authentication to my Astro project, I tried astro-auth (not very convinced) and now I'm looking Lucia docs, but I'm not sure if there is a better way to add authentications, any suggestions?

halcyon gale
#

+1 for following the Lucia guides and "Rolling your own" using Oslo and Arctic

This is what we did in StudioCMS, allowing us full control over every aspect of our system ๐Ÿ˜„

For a example of some of how our system works checkout our code: on github

finite turtle
#

Okey c:, so Oslo and Artic could be a good choice?, I got confused when I searched for Lucia and came across with Oslo ๐Ÿ˜†

halcyon gale
vestal crescent
#

Better-Auth is also a great library as well!

finite turtle
finite turtle
light lion
#

Does BetterAuth allow for server side cookies etc? or does it do it all in the browser / client?