DEV Community

Discussion on: Make one resolution this year. Never write your own Authentication

Collapse
 
lonlilokli profile image
Lonli-Lokli

It's worth to mention that auth is not only provider but libraries as well. Eg on the frontend there are many of them for OAuth2, but if I'm not satisfied with their quality?

Collapse
 
jordanfinners profile image
Jordan Finneran

Thank you for the comment, I don't quite understand though, would you be able to elaborate? :)

Collapse
 
lonlilokli profile image
Lonli-Lokli

Sure!
Assume you don't build your own authorization on backend but use External extensions from Okta for example, you still need to use their or any other js version for frontend authentication.
Unfortunately when it comes to JS frontend, many libraries are not quite good written to be used by every project.
Just because they should be broad enough to support multiple backend providers they are too complex and too buggy.