Commit Graph
10 Commits
Author SHA1 Message Date
Ivan VasilovandJoshen Lim dbccdf8beb Add support for scopes oAuth apps (#17976)
* Bump @supabase/shared-types.

* Add scopes parameter to all queries and mutations.

* Refactor the publish app side panel to include scopes.

* Refactor the authorize page to show the app scopes.

* Remove a console.log.

* Address all feedback.

* Simplify the scope rendering.

* Simplify the scopes wording when creating an app.

* Make the modal a bit wider so that some of the text doesn't overflow.

* Add docs url to oauth scopes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-17 13:07:02 +08:00
Ivan Vasilov 3d70a1cdca Revert "Chore/support temp enable db writes (#18171)" (#18229)
This reverts commit d200ed9414.
2023-10-16 10:55:43 +02:00
Joshen LimandIvan Vasilov d200ed9414 Chore/support temp enable db writes (#18171)
* Deprecate old project-read-only-query and add temp-disable-read-only-mode-mutation

* Scaffold enable writes UI

* Implement temp enable writes

* Bump @supabase/shared-types.

* Add scopes parameter to all queries and mutations.

* Refactor the publish app side panel to include scopes.

* Refactor the authorize page to show the app scopes.

* Remove a console.log.

* Address all feedback.

* Simplify the scope rendering.

* Simplify the scopes wording when creating an app.

* Make the modal a bit wider so that some of the text doesn't overflow.

* Add URL to docs for oauth apps scopes

* Remove unnecessary async await

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-10-16 13:52:42 +08:00
Kang Ming 95cd8e8dce hotfix: use correct endpoint to revoke authorized oauth app 2023-08-08 12:38:55 +08:00
Joshen Lim ed77f09070 Refactor error handling for organizations mutations 2023-07-11 20:56:50 +08:00
Joshen Lim 6cbc02ff67 Refactor error handling for oauth apps mutations 2023-07-11 12:40:51 +08:00
Joshen Lim adbbf1bba7 Add revoke authorized app + update endpoints with latest changes 2023-06-28 12:07:32 +08:00
Joshen Lim e704ab5aaa Update according to requirements 2023-06-22 22:07:18 +08:00
Joshen Lim 55654fc7c3 Implement create, update, delete auth publish apps 2023-06-22 21:38:39 +08:00
Joshen Lim a656f76705 Midway oauth apps crud 2023-06-22 19:44:41 +08:00