I am trying to figure out how to debug/test passport strategies used with graphql but I am totally confused on what is called when.
I tried passport-ldapauth and throw in the ldap configuration I also set up a guard. the only thing that seems to be called is the authenticate method, and I cannot figure out why.
the default of most of the passport strategies expect some kind of endpoint that accepts { username, password } but when I get the login stuff from a graphql mutation that does not fit, how do I make an adapter or something to make it work with graphql mutations as auth service.