WIP work on getting nextauth + graphql working
This commit is contained in:
parent
45f8cb1234
commit
24d52eef3d
8 changed files with 668 additions and 21 deletions
|
|
@ -50,10 +50,11 @@ const build = async (config: IAppConfig): Promise<Glue.Manifest> => {
|
|||
route: {
|
||||
path: "/graphql",
|
||||
options: {
|
||||
auth: {
|
||||
strategies: ["nextauth-jwt"],
|
||||
mode: "optional",
|
||||
},
|
||||
auth: false,
|
||||
// auth: {
|
||||
// strategies: ["nextauth-jwt"],
|
||||
// mode: "optional",
|
||||
// },
|
||||
},
|
||||
},
|
||||
pgConfig: config.postgraphile.authConnection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue