Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 20 14:20

    yelexin on release

    (compare)

  • Feb 20 14:18

    yelexin on master

    Release v3.10.1 build Merge branch 'feature/pipeline' (compare)

  • Feb 20 12:24
    yelexin closed #42
  • Feb 20 12:24
    yelexin commented #42
  • Feb 20 12:17

    yelexin on master

    合并 Pipeline Release v3.10.0 (compare)

  • Feb 20 10:51
    liaochangjiang synchronize #42
  • Feb 20 10:51

    liaochangjiang on pipeline

    fix: change test host (compare)

  • Feb 20 08:01

    yelexin on master

    fix: Release v3.9.1 Release v3.9.1 (compare)

  • Feb 20 07:59
    liaochangjiang opened #42
  • Feb 20 07:58

    liaochangjiang on pipeline

    Add test for customize token (compare)

  • Feb 20 07:51

    leinue on master

    Revert "Authing 自定义 Pipeline" Merge pull request #41 from Aut… (compare)

  • Feb 20 07:51
    leinue closed #41
  • Feb 20 07:50
    leinue opened #41
  • Feb 20 07:50

    leinue on pipeline

    Revert "Authing 自定义 Pipeline" (compare)

  • Feb 19 12:27

    leinue on master

    Add rules module feature: add api createRule feature: add api rules.updateRu… and 23 more (compare)

  • Feb 19 12:27
    leinue closed #40
  • Feb 19 09:27
    liaochangjiang opened #40
  • Feb 19 09:26
    liaochangjiang opened #39
  • Feb 19 09:24

    liaochangjiang on pipeline

    Add rules module feature: add api createRule feature: add api rules.updateRu… and 22 more (compare)

  • Feb 17 04:40

    yelexin on master

    feat: 注册时可指定 signedUp lastLogin… Merge branch 'master' of github… (compare)

ivy
@leinue
Hello
Ye Lexin
@yelexin
Hello there.
JackJin
@JackJin2014
hi ;-)
AlcoholTobaccoCode
@AlcoholTobaccoCode
Hello :>
Meeken
@Meeken1998
wow
ivy
@leinue
authing.cn
hanabi1224
@hanabi1224
qwq
Kaisir
@Kaisir
喵喵喵?
ivy
@leinue
喵喵喵
dubolin
@825221503
旺旺旺
fliter
@cuishuang
hi 哈哈哈
CerebroWang
@cerebrowang
hello world
Arthur
@lsj9383
https://learn.authing.cn/authing/quickstart/hello-world 按照这个demo做 为什么显示的是空白页呢
ivy
@leinue
代码看一下呀
Yage Hu
@yagehu
Hello. 我是后端开发,请问使用 Postman 如何获取 oauth token
假如说我已经设置了一个 oauth app
Yage Hu
@yagehu
nvm answered my own question: <app>.authing.cn/login
ivy
@leinue
Yage Hu
@yagehu

验证 OAuth access_token 合法性这里,response 是这样的:

{
    "state": 1,
    "token": {
        "isRevoked": false,
        "isDeleted": false,
        "_id": "5d8df3d12914983cab6430b1",
        "accessToken": "b4177a2e01060169fc724112b10703fda49e7d69",
        "accessTokenExpiresAt": "2019-09-27T12:34:41.480Z",
        "refreshToken": "fd56d928ed3f00b18db14550d63d9f3a051812fc",
        "refreshTokenExpiresAt": "2019-10-11T11:34:41.480Z",
        "scope": "profile",
        "grantType": "authorization_code",
        "appId": "5ce52da3b0148671e7f5bfd7",
        "userOrClientId": "5ce53aea9f85257dd132d749",
        "when": "2019-09-27T11:34:41.481Z",
        "__v": 0
    },
    "isRevoked": false,
    "isDeleted": false,
    "_id": "5d8df3d12914983cab6430b1",
    "id": "5ce53aea9f85257dd132d749",
    "accessToken": "b4177a2e01060169fc724112b10703fda49e7d69",
    "accessTokenExpiresAt": "2019-09-27T12:34:41.480Z",
    "scope": "profile",
    "grantType": "authorization_code",
    "appId": "5ce52da3b0148671e7f5bfd7",
    "userOrClientId": "5ce53aea9f85257dd132d749",
    "when": "2019-09-27T11:34:41.481Z",
    "iss": "https://sso.authing.cn",
    "sub": "5ce53aea9f85257dd132d749",
    "aud": "5ce52da3b0148671e7f5bfd7",
    "exp": 1569587681480,
    "iat": 1569584081481,
    "user_id": "5ce53aea9f85257dd132d749",
    "issued_to": "https://sso.authing.cn",
    "audience": "5ce52da3b0148671e7f5bfd7",
    "expires_in": 3360,
    "access_type": "offline"
}

如果要检查是否 revoked 应该检查哪个?有两个 isRevoked

Yage Hu
@yagehu
再问一下,作为后端服务我应该直接 call 这个端口来验证吗?还是用 SDK
ivy
@leinue
检查 isRevoked 就行
@yagehu 直接 call 是简单的
Yage Hu
@yagehu
@leinue thx