https://dev.to/swmcc/adding-oauth-to-the-authentication-service-1g9p