草庐IT

Auth_OpenID_AX_AttrInfo

全部标签

java - Java 的最佳 OpenID 库

按照目前的情况,这个问题不适合我们的问答形式。我们希望答案得到事实、引用或专业知识的支持,但这个问题可能会引发辩论、争论、投票或扩展讨论。如果您觉得这个问题可以改进并可能重新打开,visitthehelpcenter指导。关闭11年前。我希望用户能够使用OpenID登录我的网站,但我不知道该使用哪个库。我知道哪些是outthere,但我想知道哪个最好。我正在运行JOnAS,但没有Web框架(没有Spring、Struts、GWT等)。(请不要因为我没有使用web框架而责备我。我有我的理由。)就其值(value)而言,我的网站被分成多个WAR,我更喜欢在那种情况下运行良好的东西,但这不是

javax.security.auth.login.LoginException : No LoginModules configured for SomeLogin

我正在尝试为我的Servlet(在Eclipse中的Tomcat7上运行)创建JAAS身份验证,但我收到了这个错误。他是完整的堆栈跟踪:'`INFO:StartingServletEngine:ApacheTomcat/7.0.32Geg19,20139:53:08PMorg.apache.coyote.AbstractProtocolstartINFO:StartingProtocolHandler["http-bio-8080"]Geg19,20139:53:08PMorg.apache.coyote.AbstractProtocolstartINFO:StartingProtoc

python - 没有名为 rest_auth 的模块

得到错误:“导入错误:没有名为rest_auth的模块”完整跟踪:https://dpaste.de/UHyx当我尝试使用“python2.7manage.pyrunserver”运行服务器时我的搭档和我在同一个venv上工作,但是当他运行“python2.7manage.pyrunserver”时能够成功运行服务器。我们都有相同的(我们相信)venv安装和软件包。不太确定可以做些什么来修复这个错误,因为我真的无法从跟踪中得到太多,但我相信我的python版本可能有问题.. 最佳答案 你必须安装django-rest-auth:pi

python - django-social-auth redirect_uri 无效

我一直在用头撞墙试图让django-social-auth工作。我的开发服务器是我工作时专用网络中的服务器,通过10.0.0.*IP地址访问。我们有多个django应用程序在此服务器上运行。这是我对这个应用程序的配置:#Perceptuallocation/perceptual/static/{alias/opt/perceptual/perceptual/static/;}location/perceptual/{proxy_passhttp://127.0.0.1:8001;}我正在使用它从我的静态目录中运行一个backbone.js应用程序。所以,我可以转到10.0.0.54/p

python - django_openid_auth TypeError openid.yadis.manager.YadisServiceManager 对象不是 JSON 可序列化的

我在我的项目中使用了django_openid_auth,它在一段时间内运行良好。但是今天,我测试了应用程序并遇到了这个异常:Environment:RequestMethod:GETRequestURL:http://localhost:7777/google/login/DjangoVersion:1.6PythonVersion:2.7.3InstalledApplications:('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.sites

python - Django/MySQL-python - 使用旧(4.1.1 之前)身份验证协议(protocol)的连接被拒绝(启用客户端选项 'secure_auth')

SO上有这么多人遇到过这个问题,但几乎所有的答案都是无用的。Traceback(mostrecentcalllast):File"/venv/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py",line91,ininner_runself.validate(display_num_errors=True)File"/venv/local/lib/python2.7/site-packages/django/core/management/base.py",line266,inva

python - Google App Engine : Reverse Proxy + OpenID, 用户在登录后被重定向到 appspot 域

我正在使用反向代理在自定义域上启用ssl。代理在公共(public)页面上运行良好,但是当用户尝试访问login_required目录时,登录url会在登录后将他们转移到我的appspot域。有没有办法让用户留在自定义域中?这是我的登录处理程序:classOpenIDLoginHandler(webapp.RequestHandler):defget(self):domain=self.request.get('domain')continue_url=self.request.GET.get('continue')ifnotcontinue_url:continue_url='htt

python - 谷歌应用引擎本地开发服务器上的 OpenID 登录

是否可以使用openid通过googleappenginesdk版本1.4.1和python2.5登录到本地开发服务器?当我执行此操作时self.redirect(users.create_login_url(continue_url,None,openid_url))我被重定向到http://localhost/_ah/login而不是openidurl。openidurl和continueurl有效。我的app.yaml看起来像这样-url:/_ah/login_requiredscript:do_openid_login.py-url:/users/(.*)script:rout

python - 如何在 matplotlib 中使用 ax.get_ylim()

我做了以下导入:importmatplotlib.pyplotaspltimportmatplotlib.axesasaximportmatplotlibimportpylab它正确执行plt.plot(y1,'b')plt.plot(y2,'r')plt.grid()plt.axhline(1,color='black',lw=2)plt.show()并显示图表。但是如果我插入print("ylim=",ax.get_ylim())我收到错误信息:AttributeError:'module'objecthasnoattribute'get_ylim'我试过更换斧头。使用plt.、m

找不到 linkedin oauth2 的 python-social-auth 后端

我正在尝试使用python-social-auth将linkedinoauth2合并到我的应用程序中。但是,当我在Chrome中导航到127.0.0.1:8000/login/linkedin/时,出现“找不到后端”错误。具体来说,日志显示以下错误:[08/Sep/201416:44:38]"GET/login/linkedinHTTP/1.1"3010[08/Sep/201416:44:38]"GET/login/linkedin/HTTP/1.1"4041608我的settings.py中有以下相关代码:INSTALLED_APPS=('django.contrib.admin',