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

default oauth to prod client #476

Merged
merged 5 commits into from
Dec 5, 2024
Merged

default oauth to prod client #476

merged 5 commits into from
Dec 5, 2024

Conversation

mwilde345
Copy link
Member

@mwilde345 mwilde345 commented Dec 5, 2024

Problem

CLI was defaulting to the oauth client that frontdoor uses when it's hosted locally.
This means nobody should need to set any env vars when logging in to the shell, unless they wanna go to dev/prev

Solution

Customers should default to prod. Remember this client secret isn't really secret and that's ok in this OAuth contract strategy.

Also dumping Fauna-prefixed env vars in the logArgv middleware for FE-6173

Out of Scope

Option to redact specific env vars or argv attributes. Helpful for customers that want to copy pasta verbose output straight into a bug report.

@mwilde345 mwilde345 changed the base branch from main to v3 December 5, 2024 05:07
@mwilde345 mwilde345 requested a review from a team as a code owner December 5, 2024 05:07
src/lib/middleware.mjs Outdated Show resolved Hide resolved
Copy link
Contributor

@ptpaterson ptpaterson left a comment

Choose a reason for hiding this comment

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

this will help 👍

src/lib/middleware.mjs Outdated Show resolved Hide resolved
@cleve-fauna cleve-fauna merged commit dd4799a into v3 Dec 5, 2024
4 checks passed
@cleve-fauna cleve-fauna deleted the oauth-prod branch December 5, 2024 15:02
This was referenced Dec 6, 2024
@cleve-fauna cleve-fauna mentioned this pull request Dec 13, 2024
@mwilde345 mwilde345 mentioned this pull request Dec 18, 2024
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.

3 participants