本文介绍了Hello.js和LINKEDIN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在成功使用 hello.js 来创建客户端/服务器增强的混合体.不幸的是,当使用 Linkedin 作为网络时,该网络应该在"OAuth2:隐式授予"中,这意味着无需在客户端共享SECRET KEY,这是行不通的,并且我从auth-server.herokuapp.com/收到错误消息,表示无法识别CLIENT_ID,这是正常现象,因为我不必像facebook和google一样声明它,在这种实现方式下效果很好.

i'm using with success hello.js to create a mix of client/server autentification. Unfortunately, when using Linkedin as a network, which should be in "OAuth2: Implicit Grant" which means, no need to share the SECRET KEY on client side, this is not working and i receive an error from auth-server.herokuapp.com/ saying the CLIENT_ID is not recognized which is normal as i don't have to declare it alike facebook and google which are working fine with such implementation.

我想知道这是否正常以及为什么要声明它,因为我希望我的脚本能够独立于任何第三方安全性失败.

I would like to know if normal and why i should declare this as i want my script to be autonomous of any third party security failure.

感谢您的帮助.问候

Thanks for helping.RegardsP.

推荐答案

这是hellojs docs v1.0.1中的错误,我已经修复了该错误 http://adodson.com/hello.js/#oauth-proxy

Its an error in the hellojs docs v1.0.1, which i've now fixed http://adodson.com/hello.js/#oauth-proxy

LinkedIn目前仅支持显式流程. https://developer.linkedin.com/documents/authentication

LinkedIn only support the explicit flow at present. https://developer.linkedin.com/documents/authentication

linkedIn登录小部件可能会为您绕过服务器调用,但您必须使用其Javascript SDK https ://developer.linkedin.com/documents/overview )

The linkedIn signin widget may circumvent a server call for you, but you will have to use their Javascript SDK https://developer.linkedin.com/documents/overview)

这篇关于Hello.js和LINKEDIN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 03:59