Authentication in microservices
Authentication in microservices SSO - Single Sign On is a authentication mechanism that used by websites or applications to make authentication process easier. When you click SSO button available in the website it, first redirect you to the identity provider's website where you have to login and Identity Provider will redirect you to the actual website you wanted to login at first place. SSO can be implemented via OpenID, Kerberos, SAML etc. Basic Authentication - This is one of the simplest authentication mechanism to implement. User just need to combine client_id and secret like this : client_id:secret. and then encode it base64 then send it in the Authentication header. mTLS - mutual TLS allows microservices communicate securely without dealing with security tokens etc. OAuth2 - (Authorization protocol for example let service to access your google data.) Can be implemented for service to service (server to server) communication as well. Client needs to have c...