Member Junction
    Preparing search index...

    OAuth authorization state for tracking in-progress flows

    interface OAuthAuthorizationState {
        authorizationUrl: string;
        completedAt?: Date;
        connectionId: string;
        errorCode?: string;
        errorDescription?: string;
        expiresAt: Date;
        frontendReturnUrl?: string;
        id?: string;
        initiatedAt: Date;
        pkce: PKCEChallenge;
        redirectUri: string;
        requestedScopes?: string;
        stateParameter: string;
        status: OAuthAuthorizationStatus;
        userId: string;
    }
    Index

    Properties

    authorizationUrl: string

    Full authorization URL for user redirect

    completedAt?: Date

    When flow completed

    connectionId: string

    MCP Server Connection ID

    errorCode?: string

    Error code if failed

    errorDescription?: string

    Error description if failed

    expiresAt: Date

    When flow expires

    frontendReturnUrl?: string

    URL to redirect to after OAuth completion (for frontend integration)

    id?: string

    Database record ID

    initiatedAt: Date

    When flow was initiated

    PKCE challenge data

    redirectUri: string

    Redirect URI used for this flow

    requestedScopes?: string

    Requested scopes

    stateParameter: string

    Cryptographic state parameter for CSRF protection

    Flow status

    userId: string

    User initiating the flow