Skip to main content
GET
/
api
/
v1
/
auth
/
oauth
/
{provider}
获取 OAuth 授权 URL
curl --request GET \
  --url https://api.end.shallow.ink/api/v1/auth/oauth/{provider}

Path Parameters

provider
enum<string>
required
Available options:
qq,
github

Query Parameters

action
enum<string>

bind 用于已登录用户绑定 OAuth 账号

Available options:
login,
bind

Response

200

返回授权 URL 和 state