Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
frankie567 opened this issue Mar 13, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@frankie567
Copy link
Member

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'}}]}}

@frankie567 frankie567 added the bug Something isn't working label Mar 13, 2023
frankie567 added a commit that referenced this issue Mar 17, 2023
Bug fixes and improvements
--------------------------

* Fix #155: OpenAPI schema of Admin API is now compliant and should be usable with client generators
* Fix #157: clearly show an error when something goes wrong after OAuth Provider callback
* Add ability to delete **Users**, **Clients** and **Tenants** from admin dashboard
* New Admin API endpoints to:
    * GET single objects
    * DELETE User
    * DELETE Client
    * DELETE Tenant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

1 participant