Comments (5)
你好,我这边用 examples 中的代码看了下,5.1.2 暂时没有复现以上问题哈。目前最新版是 5.1.3-alpha.17,下周会发正式版。
控制台相关配置可参考:Web Guard 文档
或者你可以提供一个最小复现 demo,我这边来跟进排查下。
from guard.
应该是和我我的 publicConfig 有关。如果不给特定的 public config 可能不能复现
所以按道理来说,这里报 缺少 appid & secret 是不准确的?
https://github.com/Authing/Guard/blob/211cf14071/packages/guard-shim-react18/src/index.tsx#L155-L168
from guard.
应该是和我我的 publicConfig 有关。如果不给特定的 public config 可能不能复现
所以按道理来说,这里报 缺少 appid & secret 是不准确的? https://github.com/Authing/Guard/blob/211cf14071/packages/guard-shim-react18/src/index.tsx#L155-L168
使用 Guard 无需 secret,如果是标准 Web 应用,请在应用详情的 应用配置 -> 其他配置 -> 授权配置 中,请确保应用的 换取 token 身份验证方式 设置为了 none。具体参考这块:Web Guard 文档
方便的话,也可以加我微信:1047832475,发我 appId 看下。
有问题随时反馈,我来跟进。
from guard.
这是我在这一行的参数
{
"appId": "******",
"appHost": "https://*****.authing.cn",
"redirectUri": "http://localhost:3000/callback",
"tokenEndPointAuthMethod": "client_secret_post",
"introspectionEndPointAuthMethod": "client_secret_post"
}
跑完这个new AuthenticationClient(_authClientOptions)
就报错了
from guard.
这是我在这一行的参数
{ "appId": "******", "appHost": "https://*****.authing.cn", "redirectUri": "http://localhost:3000/callback", "tokenEndPointAuthMethod": "client_secret_post", "introspectionEndPointAuthMethod": "client_secret_post" }
跑完这个
new AuthenticationClient(_authClientOptions)
就报错了
在控制台 -> 应用 -> 协议配置 -> 授权配置,将应用的 换取 token 身份验证方式 设置为 none,如下:
from guard.
Related Issues (20)
- 文档的问题
- 使用语义化的版本号
- guard.trackSession is not a function HOT 1
- guard.logout 内含 redirect 导致请求被取消 HOT 3
- 支持隐藏手机验证码登录
- uniapp 真机运行空白页面 HOT 1
- 兼容 authing-js-sdk v3 并发布 v1.0.0 版本
- 支持默认使用 LDAP,并且隐藏 LDAP 的选项
- safari loginStatus === "undefined" 死循环 HOT 7
- production 无法登录 HOT 2
- electron loginStatus === "undefined" 死循环 HOT 1
- guard.min.css 污染全局样式 HOT 1
- 文档 URL 的描述错误
- 小程序二维码预加载,提升预览速度
- public/index.html 中建议加入 authing sdk 的 CDN
- guard里的全局css影响了原有的样式表
- defaultLoginMethod: "PHONE" 好像不工作,还是默认显示用户名、密码登录 HOT 1
- show()方法有问题 HOT 3
- [bug] 手机号码校验 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guard.