跳到主要内容

匿名登录

POST 

/auth/v1/signin/anonymously

同一个设备ID,最多只能注册一个匿名用户, 生成一个匿名用户的access_token

Request

Query Parameters

    client_id string

    应用对应的客户端id,默认为环境id,可以不传

Header Parameters

    x-device-id stringrequired

    设备id

Body

    provider_token provider_token 可选使用 provider_token 进行登录 (string)

Responses

A successful response.

Response Headers
    Schema
      token_type token类型, 如Bearer类型 (string)
      access_token 获取的jwt access_token (string)
      refresh_token access_token对应的refresh_token, access_token过期可通过refresh_token刷新获取新的access_token (string)
      id_token 用户身份信息的声明 (string)
      expires_in int32
      scope 授权范围 (string)
      sub 用户的唯一id (string)
      groups string[]
    Loading...