openid

OpenID Over SSL with self signed certificate

别说谁变了你拦得住时间么 提交于 2019-12-18 12:39:10
问题 I setup my own open id provider on my personal server, and added a redirect to https in my apache config file. When not using a secure connection (when I disable the redirect) I can log in fine, but with the redirect I can't log in with this error message: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. I'm guessing that this is because I am using a self signed certificate. Can anyone confirm if the self signed certificate is the

Using a javax.servlet.Filter with Compojure

假如想象 提交于 2019-12-18 11:59:25
问题 I'm trying to build a simple web site using Clojure / Compojure and want to feed apply a servlet filter to the request / response (i.e. a standard javax.servlet.Filter instance). e.g. if the current source code is: (defroutes my-app (GET "/*" (html [:h1 "Hello Foo!!"])) ) I would like to add a filter like this: (defroutes my-app (GET "/*" (FILTER my-filter-name (html [:h1 "Hello Foo!!"]))) ) Where my-filter-name is some arbitrary instance of javax.servlet.Filter. Any idea how to do this

Using OpenID with WCF and no browser, is it possible?

时光毁灭记忆、已成空白 提交于 2019-12-18 11:56:46
问题 From most of the reading I've done on OpenID, it seems a browser may be required. I'm writing a WCF app and wanted to use OpenID as the authentication method, but my app is not a web app. Is it possible to use WCF and OpenID together without requiring a web browser? 回答1: While OpenID can tout in its spec independence from cookies and such because the spec doesn't actually mandate how those things are used, in reality I've never seen a good OpenID solution for anything besides logging into a

Android authentication with Google OpenID. What next?

荒凉一梦 提交于 2019-12-18 11:55:51
问题 I am not a programmer, but I need to do this myself. I need some help. I have been looking for the solution for the last two days and I cannot find any. Ok. I am writing Android Native App. My first goal is to achieve possibility of login through Google Account (which is already set on the phone). So I am using AccountManager to get the "com.google" account, I am getting an auth token this way: Account[] mAccounts = mAccountManager.getAccountsByType("com.google"); AccountManagerFuture<Bundle>

Skip IdentityServer3 login screen

*爱你&永不变心* 提交于 2019-12-18 11:32:37
问题 We have configured Client App to use IdentityServer3 authentication via OpenID Connect protocol (it's ASP.NET MVC App that uses OWIN middleware to support OIDC). The IdentityServer3 itself is configured to use both local login and external login (Azure AD, for instance). In the regular flow once App need to authenticate user it redirects him to the IdentityServer3 login screen - it's fine. But in some cases, on per-request basis, I want to bypass login screen by somehow letting

Database Schema for multiple authentications, Facebook Connect, Twitter, OpenID, etc

浪子不回头ぞ 提交于 2019-12-18 10:43:29
问题 I am building an application that I want to interface with Facebook Connect, Twitter, OpenID, and potentially other social networks. Users will be able to login using any number of these methods at the same time. My application uses MySQL as a backend database. Can someone give me guidance on what my db schema should look like for capturing user info from various social networks at the same time? One idea I have (based on my reading online) is something like: User {userid, ...} UserFacebook

拼多多开放平台对接全流程

怎甘沉沦 提交于 2019-12-18 10:21:28
一. 创建应用(我这里创建了 商家后台应用) https://open.pinduoduo.com/#/application/type 二.授权登录 1.拼接拼多多授权登录Url https://mms.pinduoduo.com/open.html?response_type=code& client_id = {0} & redirect_uri = {1} &state=1212 注意这里的 client_id 需要改成你当前应用的 client_id , redirect_uri 需要修改成登录成功之后跳转的地址 这里的 redirect_uri 地址需要和你在应用设置里面填入的回调地址一致 如下图所示: 商家账号登录成功之后跳转到回调地址,在地址后面返回 code 和 state。 通过code 可以请求获取到 Token ,state则是验证与之前传入的state 是否相同 2.通过 Code 请求Token /// <summary> /// 拼多多Token刷新方法 /// </summary> /// <param name="code"></param> public void ResreshAccessByPDD(string code) { dynamic parameter = new { client_id = "应用client_id", code

OpenID Connect providers [closed]

拜拜、爱过 提交于 2019-12-18 10:19:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . We currently have an OpenID based Google AppEngine application. We are now trying to integrate our application with our customers inhouse IT systems and see,hat OpenID is a quite complicated spec to implement. We also see, that Google is moving in the direction of OpenID Connect (if you look at Google Drive). Is

Can non-web applications use OpenID?

允我心安 提交于 2019-12-18 08:18:30
问题 How can I make my desktop application into an OpenID relying party? 回答1: Since OpenID has a specified protocol, it will either work all the time (assuming providers are conforming) or not at all. Additionally, since the OpenID protocol (at least the authentication bits, see the specification) consists of simple HTTP requests, you could implement the protocol in a desktop application assuming you know how to make such requests. It is generally considered a bad idea though, since there are

How do I fake OpenID login in RSpec user story/Cucumber when using open_id_authentication plugin

旧时模样 提交于 2019-12-18 03:40:56
问题 I'm trying to write a Cucumber scenario that requires me to have a logged in user - that would normally be quite simple but I'm only using OpenID authentication (curtosy of the authentication plugin). However after digging through the open_id_authentication plugins guts I'm not sure how I could achieve this within Cucumber. 回答1: I've figured out a way, if you place this in your features/support/env.rb: ActionController::Base.class_eval do private def begin_open_id_authentication(identity_url,