Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Apr 30 03:37
    willin assigned #82
  • Apr 30 03:37
    willin assigned #82
  • Apr 30 03:36
    willin commented #82
  • Apr 30 00:40
    willin closed #95
  • Apr 29 19:05
    shilp-techholding edited #95
  • Apr 29 19:05
    shilp-techholding edited #95
  • Apr 29 19:04
    shilp-techholding edited #95
  • Apr 29 19:01
    shilp-techholding assigned #95
  • Apr 29 19:01
    shilp-techholding labeled #95
  • Apr 29 19:01
    shilp-techholding assigned #95
  • Apr 29 19:01
    shilp-techholding assigned #95
  • Apr 29 19:01
    shilp-techholding opened #95
  • Feb 15 13:46

    dependabot[bot] on npm_and_yarn

    (compare)

  • Feb 15 13:46

    willin on master

    build(deps-dev): bump standard-… (compare)

  • Feb 15 13:46
    willin closed #58
  • Feb 15 10:48
    dependabot[bot] edited #58
  • Feb 15 10:47
    dependabot[bot] edited #58
  • Feb 15 10:47
    dependabot[bot] synchronize #58
  • Feb 15 10:47

    dependabot[bot] on npm_and_yarn

    build(deps-dev): bump standard-… (compare)

  • Feb 15 10:47
    dependabot[bot] edited #58
廖长江
@liaochangjiang
我们目前支持通过 SDK 在 Authing 进行权限管理:https://docs.authing.co/v2/reference/sdk-for-node/management/AclManagementClient.html
可以用于将应用中的权限同步到 Authing
Cceng
@775384402
@liaochangjiang 那也就是说 关于数据的全部操作 执行完以后 都需要调用SDK的方法去同步这个权限是吗,那这个操作量侵入性不小
廖长江
@liaochangjiang
如果是针对某个具体数据项的细粒度权限分配,需要在我们这里同步;如果 API 接口级别(如增删改查)是不需要同步了。您可以加一下我的微信 etherealcj4,针对您的业务场景设计一下方案。
Cceng
@775384402
好的 这边我已经加您了
_
@jshawcx
@liaochangjiang 我 post 请求 https://xxxxxxx.authing.cn/oidc/token 用code换取token ,grant_type=authorization_code 为什么报错 "error": "invalid_grant",
我授权模式模式是authorization_code
廖长江
@liaochangjiang
invalid_grant 一般是传递的凭证不对
比如 redirect_uri 和在应用详情配置的不匹配
_
@jshawcx
@liaochangjiang 我这个地址写的就是配置里的登录回调 URL
廖长江
@liaochangjiang
image.png
image.png
image.png
Content-Type 为 application/x-www-form-urlencoded ,这个指定了么
code 换 token 的 SDK,可以参考一下
_
@jshawcx
@liaochangjiang 我知道原因了,code 不能重复用是吧 ,但是你这个提示也太笼统了
random-cheese
@random-cheese
你好,我打算自己写一个 Ruby SDK,命名和结构都参照 JS SDK
目前刚刚开始,有什么建议吗
一些注意事项,以及从什么功能/地方开始比较合适
我刚弄了 Authing 托管页的 callback 跳转,现在希望通过 跳转携带过来的 code ,换取到用户信息
跳转到 localhost:3000
这个是 gem 的源代码 repo
图片.png
打算先实现这个
廖长江
@liaochangjiang

一些注意事项,以及从什么功能/地方开始比较合适

首先很感谢你给 Authing 开发社区做出的贡献,我们建议先从 AuthenticationClient 开始,AuthenticationClient 可以先实现基础的登录注册方法以及 OIDC 标准协议相关的方法。注意事项的话有自动生成 GraphQL 查询语句(参考 https://github.com/rmosolgo/graphql-ruby)以及如何维护 token

@random-cheese 方便的话,可以加一下我的微信(etherealcj4),后续可以仔细探讨一下。
random-cheese
@random-cheese
好的,微信加了
crown
@crown840421
请问如何通过Java调用邮箱验证码登录验证这个接口?我在JS/Node的文档里找到了MfaAuthenticationClient().verifyAppEmailMfa(),但是Java的文档里好像没有对应的接口?
dump
@dump22412655_twitter
Hello is there any way i can let internal testers login in app without entering mobile OTP ? we are based outside china so it's hard to get proper OTP on our devices
dump
@dump22412655_twitter
we have some virtual numbers but it's not receiving OTPs from authing please let me know if there is any way we can add numbers in whitelist our self as per our requirements from authing console?
廖长江
@liaochangjiang
@dump22412655_twitter maybe you can let your testers to sign in use phone number and password
you can set password for users from Authing console
dump
@dump22412655_twitter
but in that case we will have to provide UI to enter password and we are not planing to support this mobile/password login functionality in app
so i thought if there is any test users we can add that can login with any otp that would be great
廖长江
@liaochangjiang
@dump22412655_twitter we are considering this, we will let you know soon
dump
@dump22412655_twitter
@liaochangjiang Thank you, even if we can see OTP code on console for our test users that would be helpful as well
also one question i'm using JAVA sdk while registring user with email and password i can not send mobile number as profile detail? RegisterProfileInput does not have any field to set mobile number?
廖长江
@liaochangjiang
@dump22412655_twitter end user can’t set their mobile phone unrestrictedly, it’s high risky. The do however, can set mobile phone number on opt verified. We have a method called bindPhone, you can use this to set mobile phone number after the account has been created.
dump
@dump22412655_twitter
What if we don't want to verify mobile number and make that field optional and whatever user enter as number we just want to store it?
dump
@dump22412655_twitter
@liaochangjiang And also JAVA SDK has loginByPhonePassword() function but there is no registerByPhonePassword() ?
廖长江
@liaochangjiang
@dump22412655_twitter you can set password when call registerByPhoneCode() function, the user must verify their sms code
Zenithal
@ZenithalHourlyRate
有考虑过加上 WebAuthn 的支持吗
廖长江
@liaochangjiang
这个在我们的 roadmap 里面
Zhengxing Yang
@CrazyHeex
小程序这个库太大了 有没有轻一点的版本或者解决方案呢 是否可以考虑把重的部分放在小程序云函数里呢
"dependencies": {
"authing-js-sdk": "4.15.8",
"wx-axios": "^0.0.7"
},主要是authing-js-sdk这个依赖 太大了
Zhengxing Yang
@CrazyHeex
image.png
廖长江
@liaochangjiang
@CrazyHeex 感谢反馈,我们想办法优化一下,将非必要的依赖移除掉
why2go
@why2go
请问authing的go sdk后面还开发吗?