Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Erreur serveur next-auth #33

Merged
merged 2 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ NEXT_PUBLIC_MATOMO_SITE_ID=""
NEXT_PUBLIC_APP_REPOSITORY_URL="https://github.com/SocialGouv/template"

NEXT_PUBLIC_API_URL="https://backoffice-1000jours-preprod.dev.fabrique.social.gouv.fr"
NEXTAUTH_URL="http://localhost:3000"
NEXTAUTH_URL="http://localhost:3000"
4 changes: 3 additions & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fileignoreconfig:
- filename: .env.production
checksum: 4b7835ad6d2dbad0ea3bef4ce74572b4c240bfeb8206c262a023ec761230cde8
- filename: .env.staging
checksum: 58d12cc16918e20873da415691725a6fccfe620449dc978b943447f74af7719a
checksum: 17df4049e6eb0ed5739ec1ca728d4814daf32abf61808da61690cbb860998e19
- filename: .github/workflows/kontinuous-webhook-delete.yml
checksum: 6debf4f640d4ed9cb39bb19445214ab52dcb23fb7da12feeb85070816d7ee52a
- filename: .github/workflows/kontinuous-webhook-deploy.yml
Expand All @@ -27,6 +27,8 @@ fileignoreconfig:
checksum: 71806037df785505323b21435e6a8e68f8de1b29628fa07bdbf9d276e39f950b
- filename: src/components/SelectDepartment.tsx
checksum: d8074633be1f7eb9bf5fbeb4f387ea7ea087b04a5675bff25e9e252dda5f6913
- filename: src/pages/api/auth/[...nextauth].ts
checksum: a2914245d78595c05d9a2a535bc4d1fecc0e27420a168c4f6632c7c3fe73a23d
scopeconfig:
- scope: node
version: "1.0"
1 change: 1 addition & 0 deletions src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default NextAuth({
}
})
],
secret: "secret_next_auth",

session: {
strategy: 'jwt'
Expand Down