Background
I check options to migrate my service authentication system to identityserver4\5. I have two websites:
account.company.com
company.com
My websites are SPA based on .NET core and Angular.
Question
I saw few demo projects identityserver4 demo projects based on SPA that using additional angular libraries (like angular-auth-oidc-client and oidc-client-js). Those libraries are actually client
, with id and secret, that exposing this information to the public.
- Is it safe to have client id and client secret on the browser?
- I must implement identityserver4\5 with Angular client? maybe a server-side
client
is enough (all the client requests will be transmitted to server-side, which is aclient
)?