Skip to content
On this page

OAuth Info

🔑 Need JWT Authorization

Description

oauth detail

Only oauth owner can request.

Method And Path

js
POST /v2/developer/oauth/setting/detail

Request

ts
{
    "authorization": string;
    "x-request-id": string;
    "x-session-id": string;
}

Body

ts
{
    "oauthUUID": string;
}

oauthUUID

OAuth Application UUID

Response

Success

HTTP Status Code: 200

ts
{
    status: Status.Success;
    data: {
        appName: string;
        appDesc: string;
        scopes: DeveloperOAuthScope[];
        homepageURL: string;
        callbacksURL: string[];
        logoURL: string;
        clientID: string;
        userCount: number;
        secrets: Array<{
            secretUUID: string;
            clientSecret: string;
            createdAt: number;
        }>;
    }
}

Extends Type: Status, DeveloperOAuthScope

appName

Application name

appDesc

Application description

homepageURL

Application homepage url

callbacksURL

Application callback url

scopes

Application permission scopes. Ref: DeveloperOAuthScope

logoURL

Application logo url

clientID

OAuth clientID

userCount

Registered user count

secrets[].secretUUID

secrect UUID

secrets[].clientSecret

secret string. e.g. ******1234abcd

secrets[].createdAt

secret created time

Failed

HTTP Status Code: 200

ts
{
    status: Status.Failed,
    code: ErrorCode
}

Extends Type: Status, ErrorCode

Released under the MIT License.