The autentication application is exposed to the client to authenticate it, and to the server to provide the authorizations for clients.