Skip to content

Commit

Permalink
fix: withCredentials missing for self-hosting (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Feb 22, 2024
1 parent 305eb21 commit a1bfc28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { edgeConfig } from "@ory/integrations/next"

const localConfig = {
basePath: process.env.NEXT_PUBLIC_KRATOS_PUBLIC_URL,
baseOptions: {
withCredentials: true,
},
}

export default new FrontendApi(
Expand Down

0 comments on commit a1bfc28

Please sign in to comment.