Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Disallow OAuth 2.0 use of the GraphQL API by default #3092

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Aug 7, 2024

Fixes #3056

This adds a new flag on the graphql listener: undocumented_oauth2_access.
This is meant for internal use only as it is not documented, and not meant to be, as it is being replaced by the Admin API.

It also disables the GraphQL playground by default, as we don't really want people to mess with it anymore

What this does not cover is requesting the urn:mas:graphql scope. Right now, clients will still be able to request it, but I think this is fine.

Copy link

cloudflare-workers-and-pages bot commented Aug 7, 2024

Deploying matrix-authentication-service-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8d00d21
Status: ✅  Deploy successful!
Preview URL: https://ffff7e38.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-graphql-deprecate-e.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose requested a review from reivilibre August 7, 2024 15:38
@sandhose sandhose added A-GraphQL Changes to the GraphQL API A-Configuration Related on what is configurable and how it can be configured A-Admin-API Related to the admin API labels Aug 7, 2024
@sandhose sandhose merged commit 1bdad26 into main Aug 7, 2024
16 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Admin-API Related to the admin API A-Configuration Related on what is configurable and how it can be configured A-GraphQL Changes to the GraphQL API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate external use of the GraphQL API
2 participants