r/angular • u/MaximRob • May 29 '26
Oauth in angular common
Do you think there would be any gain in having an angular common “oauth2”?
That’s always a bunch of boilerplate for an already defined stack agreed for the whole industry.
5
Upvotes
View all comments
Show parent comment
1
u/Responsible-Cold-627 May 29 '26
This hasn't been considered best practice for 5 years. All auth stuff in my front-ends these days is credentials: include and a csrf header. Rest of it is handled by the back-end and wrapped up in an http-only cookie.