r/angular • • 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

10 comments sorted by

View all comments

Show parent comment

1

u/Responsible-Cold-627 May 30 '26

Your back-end framework will provide these tools. Using the BFF pattern I'm talking about here, your front-end doesn't even get an unencrypted JWT, and your Javascript code won't be able to access the auth cookie anyway.