Make oauth2 work