Hello there! How do I handle authentication with K...
# kgraphql
m
Hello there! How do I handle authentication with KGraphQL?
j
It depends. 😜 * build your own context you can follow this https://kgraphql.io/Reference/resolver/#context * I see that the
accessRule
is not documented yet 😯 you can find some examples here: https://www.github.com/aPureBase/KGraphQL/tree/master/kgraphql%2Fsrc%2Ftest%2Fkotlin%2Fcom%2Fapurebase%2Fkgraphql%2Faccess%2FAccessRulesTest.kt * We are currently in the process of building a seamless ktor implementation, and this is something we want to improve much on. But you can find the documention for this here https://kgraphql.io/Plugins/ktor/#wrap
👍 1
🙂 1