Retire Auth0#61
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GatoolJwtbearer scheme. Clients still holding Auth0-issued tokens will get 401 and must re-authenticate.ForwardDefaultSelectordual-auth wiring fromProgram.cs;GatoolJwtis now the only registered/default scheme and the only scheme on theuser/adminpolicies.BackfillUsersFromAuth0Job(file, DI registration, andJobRunnerServiceentry) and rips the Auth0 SDK dual-write out ofMailchimpWebhookService(usings, role-ID constants, management/auth API calls).Auth0.AuthenticationApiandAuth0.ManagementApiNuGet packages fromgatool-api.csproj.Auth0Issuer/Auth0Audience/Auth0AdminClientId/Auth0AdminClientSecretfromProgram.cssecret preload,scripts/create-secrets.sh,scripts/rename-secrets.sh, and.env.example.LOCAL_DEVELOPMENT.mdsecrets 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:
Auth0Issuer,Auth0Audience,Auth0AdminClientId,Auth0AdminClientSecretfrom AWS Secrets Manager (us-east-2).BackfillUsersFromAuth0job.gatool.auth0.comtenant once traffic is confirmed gone.Companion UI PR: arthurlockman/gatool-ui retireAuth0 branch.