无法从 janrain 获取令牌

发布于 2024-09-17 00:50:53 字数 318 浏览 3 评论 0原文

我按照janrain的介绍设置了认证窗口,但是随着回调过来,没有token。可能是什么问题?

这是神奇的代码:

……

$rpxApiKey = '95c8d032db3db656e7716749552ff12c82f7108f';  

if(isset($_POST['token'])) { 

echo "hello";

  /* STEP 1: Extract token POST parameter */
  $token = $_POST['token'];

但是

hello 没有出现。

I set up the authentication window, according to the introduction janrain, but as the callback come, there is no token. What could be the problem?

Here is the magic code:

...

$rpxApiKey = '95c8d032db3db656e7716749552ff12c82f7108f';  

if(isset($_POST['token'])) { 

echo "hello";

  /* STEP 1: Extract token POST parameter */
  $token = $_POST['token'];

...

but hello is not appearing.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

在你怀里撒娇 2024-09-24 00:50:54
  1. 前往 https://rpxnow.com/ 并登录。
  2. 转到“部署”-> “域和设置”。
  3. 将您的 URL 添加到白名单域,例如:*.your-url.com
  1. Go to https://rpxnow.com/ and login.
  2. Go to "Deployment" -> "Domain & Settings".
  3. Add your URL to the whitelisted domains, e.g.: *.your-url.com
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文