DEV Community

Discussion on: Microservices: OAuth2 vs Simple JWT Authentication

Collapse
 
krkd profile image
krkd

Please go with a readily available solution. I know that it's tempting to implement authentication / authorization yourself, because using a fully-fledged server product feels overkill. But a tried and tested solution beats something self-built in 99.995% of cases. It will give you less of a headache in the long run.

Collapse
 
petros0 profile image
Petros Stergioulas • Edited

Hey krkd, exactly how I thought about it.

I am thinking that it is an overkill, but as you said, it may be better to use something that it is already tested and it is backed up by huge organisation.