How to store clientId and clientSecret in angularjs client application using OAuth2?

I am creating a MEAN JS application, I want to protect the clientId client application and the client in angularjs client application. Where can I store this data. How to ensure security for this?

To enter the user’s system, I have to provide this data and you need to get an access token ... new for this will help me.

+4
source share
1 answer

By keeping client_secret on the client side, you basically ruin the whole idea.

So, let's say Google asks for client-side applications to make an additional Google OAuth docs test call .

, oauth client_secret .

, Google auth, , oauth

-1

All Articles