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
Investigate how we could handle authentication of the graphiql endpoint #32
Comments
I suggest a small bit of UI that allows you to set a map of header values and keys. This should be suitable for most authentication setups. |
services.AddSwaggerGen(options =>
}); options.AddSecurityDefinition("oauth2", new OAuth2Scheme This is how swagger doc handle authentication. It will be nice something like that where is possible to create custom scheme. |
How about making it more general purpose by a delegate that gets invoked before GraphQL that enables you to validate the request (whether by oauth or basic auth, or any other means) that returns a boolean for whether to enable the GraphQL endpoint? |
This is what I'm thinking, thoughts are appreciated #42 |
See here for more discussions on this.
The text was updated successfully, but these errors were encountered: