By default, GraphQL allows all the autentication methods allowed by the system. Due to this, API end-points are accessible by any authentication allowed at the system-level.
// file: ./graphql/src/RouteProvider.php:
// Allow all authentication providers by default.
$auth = array_keys($this->authenticationCollector->getSortedProviders());
After installation, all authentication mechanism is allowed, not just what is implemented.
Create a config that will:
Note: Do we require per end-point API level authentication? Suggestion: simpler solution is to allow a super-set of all the authentication mechanism supported by application. Mapping endpoint to authentication-mechanism in the config may have difficult UX, future-proofing may be hard.
Active
4.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.