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

MNTOR-3189: Upgrade to Next-Auth 5 #4519

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

MNTOR-3189: Upgrade to Next-Auth 5 #4519

wants to merge 5 commits into from

Conversation

mansaj
Copy link
Collaborator

@mansaj mansaj commented May 10, 2024

References:

Jira: MNTOR-3189
Figma:

Description

Screenshot (if applicable)

Not applicable.

How to test

Checklist (Definition of Done)

  • Localization strings (if needed) have been added.
  • Commits in this PR are minimal and have descriptive commit messages.
  • I've added or updated the relevant sections in readme and/or code comments
  • I've added a unit test to test for potential regressions of this bug.
  • Product Owner accepted the User Story (demo of functionality completed) or waived the privilege.
  • All acceptance criteria are met.
  • Jira ticket has been updated (if needed) to match changes made during the development process.
  • Jira ticket has been updated (if needed) with suggestions for QA when this PR is deployed to stage.

mansaj added 2 commits May 9, 2024 15:36
* MNTOR-3110: (60 commits)
  ci: set cloudsql instead
  ci: new service
  ci: deploy cloudrun pointing to distinct db
  chore: del vercel deployment yml
  ci: lint
  MNTOR-3168 - Only show monthly monitor report pref to premium users (#4489)
  Import translations from l10n repository (2024-05-08)
  Don't send new users the monthly activity email
  bump npm and node versions everywhere
  chore(deps): bump @mozilla/glean from 4.0.0 to 5.0.1
  chore(deps): bump pg from 8.11.3 to 8.11.5
  chore(deps): bump winston from 3.12.0 to 3.13.0
  chore(deps): bump nodemailer and @types/nodemailer
  chore(deps-dev): bump tsx from 4.7.3 to 4.9.3
  chore(deps-dev): bump react-intersection-observer from 9.10.1 to 9.10.2
  chore(deps): bump next-auth from 4.24.6 to 4.24.7
  chore(deps-dev): bump @types/jsonwebtoken from 9.0.5 to 9.0.6
  chore(deps-dev): bump sass from 1.72.0 to 1.77.0
  chore(deps): bump canvas-confetti from 1.9.2 to 1.9.3
  chore(deps): bump @types/node from 20.12.7 to 20.12.10
  ...
@Vinnl Vinnl changed the title MNTOR-3189: Upgrade to NextJS 5 MNTOR-3189: Upgrade to Next-Auth 5 May 12, 2024
@@ -2,7 +2,7 @@
APP_ENV=local
SERVER_URL=http://localhost:6060
PORT=6060
NEXTAUTH_URL=http://localhost:6060
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: might still have a few stray references in the GH Actions:

git grep "NEXTAUTH_URL" | cat

.github/workflows/e2e_cron.yml:          NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
.github/workflows/e2e_pr.yml:          NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
.github/workflows/preview_deploy_gcp.yml:          NEXTAUTH_URL= ${{ secrets.NEXTAUTH_URL }}

@@ -2,7 +2,7 @@
APP_ENV=local
SERVER_URL=http://localhost:6060
PORT=6060
NEXTAUTH_URL=http://localhost:6060
AUTH_URL=http://localhost:6060
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possibly related to the GH Actions comment, but not sure where/if this is used (or if next-auth just silently uses the env var). Only reference I can find to this env var is this one reference:

git grep -Pn "AUTH_URL" | grep -v "NEXTAUTH_URL"

.env-dist:5:AUTH_URL=http://localhost:6060

Base automatically changed from MNTOR-3110 to main May 16, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants