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

New shell login setup #364

Closed
wants to merge 9 commits into from
Closed

New shell login setup #364

wants to merge 9 commits into from

Conversation

mwilde345
Copy link
Member

@mwilde345 mwilde345 commented Sep 23, 2024

Ticket(s): FE-5879

  • Basic interface to call frontdoor auth code, token and session endpoints.
  • Only works locally as frontdoor only knows about the local client id.
  • Fails if new_session_tokens is not turned on

Out of Scope

In another PR i'll break some of this out to a new frontdoor client where I can add unit tests and other methods like refresh session

Screen.Recording.2024-09-23.at.1.27.00.PM.mov

@mwilde345 mwilde345 marked this pull request as ready for review September 23, 2024 17:30
@mwilde345 mwilde345 changed the title login poc New shell login setup Sep 23, 2024
src/lib/auth/oauth-client.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@macmv macmv left a comment

Choose a reason for hiding this comment

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

nice, lgtm. i don't have much context on the oauth flow, so it'd be best to get someone else's approval too.

src/commands/login.ts Outdated Show resolved Hide resolved
Co-authored-by: Cleve Stuart <[email protected]>
Copy link
Contributor

@cleve-fauna cleve-fauna left a comment

Choose a reason for hiding this comment

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

Mostly questions for the future.

A couple minor suggestions.

src/commands/login.ts Show resolved Hide resolved
src/commands/login.ts Outdated Show resolved Hide resolved
src/lib/auth/oauth-client.ts Show resolved Hide resolved
src/lib/auth/oauth-client.ts Outdated Show resolved Hide resolved
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.

4 participants