You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Add a way to discover the GraphQL endpoint in the .well-known/openid-configuration
This adds a `org.matrix.matrix-authentication-service.graphql_endpoint` key to it
This commit is contained in:
@@ -692,3 +692,17 @@ impl Route for StaticAsset {
|
||||
format!("/assets/{}", self.path).into()
|
||||
}
|
||||
}
|
||||
|
||||
/// `GET|POST /graphql`
|
||||
pub struct GraphQL;
|
||||
|
||||
impl SimpleRoute for GraphQL {
|
||||
const PATH: &'static str = "/graphql";
|
||||
}
|
||||
|
||||
/// `GET /graphql/playground`
|
||||
pub struct GraphQLPlayground;
|
||||
|
||||
impl SimpleRoute for GraphQLPlayground {
|
||||
const PATH: &'static str = "/graphql/playground";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user