fief-dev / fief

Users and authentication management SaaS
https://www.fief.dev
Other
577 stars 48 forks source link

As a workspace admin, I want OAuth Provider errors to be handled gracefully, so that I know what's going wrong #157

Closed frankie567 closed 1 year ago

frankie567 commented 1 year ago

Example error reported in Sentry:

{'error': {'code': 403, 'message': 'People API has not been used in project 30480391107 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/people.googleapis.com/overview?project=30480391107 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.', 'status': 'PERMISSION_DENIED', 'details': [{'@type': 'type.googleapis.com/google.rpc.Help', 'links': [{'description': 'Google developers console API activation', 'url': 'https://console.developers.google.com/apis/api/people.googleapis.com/overview?project=30480391107'}]}, {'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'SERVICE_DISABLED', 'domain': 'googleapis.com', 'metadata': {'consumer': 'projects/30480391107', 'service': 'people.googleapis.com'}}]}}