resources for server side auth

I’m struggling to find tutorials or courses that hold your hand and walk you through basics on how to make a request and authenticate/authorize a user- even platform and language specific courses are difficult to find. Preferably using google cloud console with oauth2.0 or service worker in a perfect world Getting more comfortable with the concepts but examples on the actual syntax and steps to do so is what I’m looking for then how to work with the token/refresh token would be a nice follow up. I’m so dense when it comes to backend as a whole , any suggestions or ideas for resources are greatly appreciated ✨
10 Replies
ἔρως
ἔρως4w ago
i believe that that's because the biggest part of it (the backend work) is something that is extremely specific to you and you only
Avi
Avi4w ago
I think he was looking for an example tutorial that follows best practices I'm currently working on a Chrome extension project where I introduce authentication and user management via Firebase and yet this is the first time I'm attempting this There will be lots of steps before going to production, including consulting Firebase expert(s), but it would be very nice if I could just find a tutorial thus follows the best practices from the get go
ἔρως
ἔρως4w ago
the best practice you can follow is: don't roll your own look up how to use a certain library, read the documentation and implement it there isn't a lot more to it, because everything else is usually very custom
b1mind
b1mind4w ago
Lucia
Lucia documentation
Lucia is an open source auth library that abstracts away the complexity of handling sessions.
clevermissfox
clevermissfox4w ago
I have found firebase very helpful and simplifies authentication!! Yes, best practices and the order things need to happen is part of what I’m looking for. I don’t know of any tutorials that specifically target building chrome extensions and this course is a little old but maybe something in it will be helpful: Learn Firebase and/or Build a Mobile App with Firebase ; This course has a specific module called Build a Chrome Extension but doesn’t use Firebase
What will you build?
The next step of your coding journey starts here.
What will you build?
The next step of your coding journey starts here.
What will you build?
The next step of your coding journey starts here.
clevermissfox
clevermissfox4w ago
Thank you for the rec, I would have no clue where to start when looking for a library. Do you often use this Lucia ?
b1mind
b1mind4w ago
I have used an older version of it but it has decent docs Its really the auth lib that gets out of your way
clevermissfox
clevermissfox4w ago
Could you expound? What do you mean by “it’s really the auth library that gets out of your way”?
b1mind
b1mind4w ago
It handles things in away you are leveraging the basics of how auth works but with a little help 😄 so you end up with something that works (from what I hear) well with any framework/stack. Also helps when you use either db or Oauth or both 😄 I mainly got into it to handle sessions on the server.
clevermissfox
clevermissfox4w ago
Ahh gotcha thank you
Want results from more Discord servers?
Add your server