Skip to content

Retire Auth0#61

Merged
arthurlockman merged 1 commit into
mainfrom
feature/retireAuth0
May 21, 2026
Merged

Retire Auth0#61
arthurlockman merged 1 commit into
mainfrom
feature/retireAuth0

Conversation

@arthurlockman
Copy link
Copy Markdown
Owner

Summary

  • Full cutover from Auth0 to the in-house GatoolJwt bearer scheme. Clients still holding Auth0-issued tokens will get 401 and must re-authenticate.
  • Removes the live Auth0 JWT scheme + ForwardDefaultSelector dual-auth wiring from Program.cs; GatoolJwt is now the only registered/default scheme and the only scheme on the user/admin policies.
  • Deletes the one-shot BackfillUsersFromAuth0Job (file, DI registration, and JobRunnerService entry) and rips the Auth0 SDK dual-write out of MailchimpWebhookService (usings, role-ID constants, management/auth API calls).
  • Drops the Auth0.AuthenticationApi and Auth0.ManagementApi NuGet packages from gatool-api.csproj.
  • Scrubs Auth0Issuer / Auth0Audience / Auth0AdminClientId / Auth0AdminClientSecret from Program.cs secret preload, scripts/create-secrets.sh, scripts/rename-secrets.sh, and .env.example.
  • Updates docs: LOCAL_DEVELOPMENT.md secrets table and .github/copilot-instructions.md (secrets example, auth pattern, integration list).

Verification

  • rg 'auth0|Auth0|AUTH0' returns zero matches in the repo.
  • dotnet build: 0 warnings, 0 errors.

Follow-up (out of scope for this PR)

Operational cleanup once this is deployed:

  • Delete Auth0Issuer, Auth0Audience, Auth0AdminClientId, Auth0AdminClientSecret from AWS Secrets Manager (us-east-2).
  • Disable / delete any EventBridge rule that triggered the now-removed BackfillUsersFromAuth0 job.
  • Decommission the gatool.auth0.com tenant once traffic is confirmed gone.

Companion UI PR: arthurlockman/gatool-ui retireAuth0 branch.

@arthurlockman arthurlockman merged commit f43266a into main May 21, 2026
5 checks passed
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.

1 participant