Since next-auth doesn't use JWT anymore, remove the nextauth-jwt plugin
..and replace it with the Auth Bearer plugin.
This commit is contained in:
parent
24d52eef3d
commit
bdad5f551c
7 changed files with 52 additions and 112 deletions
|
|
@ -50,11 +50,10 @@ const build = async (config: IAppConfig): Promise<Glue.Manifest> => {
|
|||
route: {
|
||||
path: "/graphql",
|
||||
options: {
|
||||
auth: false,
|
||||
// auth: {
|
||||
// strategies: ["nextauth-jwt"],
|
||||
// mode: "optional",
|
||||
// },
|
||||
auth: {
|
||||
strategies: ["session-id-bearer-token"],
|
||||
mode: "optional",
|
||||
},
|
||||
},
|
||||
},
|
||||
pgConfig: config.postgraphile.authConnection,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue