Single Sign-on using OAuth2 and JWT for Distributed Architecture