Skip to content

Latest commit

 

History

History
66 lines (50 loc) · 1.28 KB

markdown-practice.md

File metadata and controls

66 lines (50 loc) · 1.28 KB

Authentication

Product owner Users wish to use their existing authentication

Login with GitHub OAuth with NextAuth library.

sequenceDiagram
    Guest->>User: Login?
    User-->>Guest: Yes!
    Guest-)User: Authenticated
Loading

Prerequisites

These are the subtasks required:

We must also include the login hook:

// create the new user a Stripe account
const user = getUser();
const stripe = createNewStripeUser(user);

After

Use feature flags to hide login button until fully tested

Caution

Do not run in production until after migration

gitGraph:
    commit "Ashish"
    branch newbranch
    checkout newbranch
    commit id:"1111"
    commit tag:"test"
    checkout main
    commit type: HIGHLIGHT
    commit
    merge newbranch
    commit
    branch b2
    commit
Loading
flowchart TD
    Start["Start"] --> Enter_Credentials["Enter Username and Password"]
    Enter_Credentials --> Validate_Credentials["Validate Credentials"]
    Validate_Credentials -->|Valid| Success["Login Successful"]
    Validate_Credentials -->|Invalid| Failure["Login Failed"]
    Success --> End["End"]
    Failure --> Enter_Credentials

Loading