DEV Community

Discussion on: GraphQL Auth with Passport and Lighthouse PHP

Collapse
 
ramirezfer772 profile image
ramirezfer772

Hola una duda en la parte donde dice:

"For convenience and to be able to have better control over the auth schema lets update the config file"

con config file te refieres a config/lighthouse.php ?? gracias por tu tiempo.

Collapse
 
joselfonseca profile image
Jose Luis Fonseca

No, me refiero al config del paquete que se publica con el comando anterior

Collapse
 
ramirezfer772 profile image
ramirezfer772

Hola. Gracias. config/lighthouse-graphql-passport.php

A este archivo te refieres agregar la linea:

'schema' => base_path('graphql/auth.graphql')

??

Thread Thread
 
joselfonseca profile image
Jose Luis Fonseca

No Agregar, en la configuracion inicial esta como null, hay que decirle la ruta del schema file como esta ahi.