xiaoyaojian / owinoauthprovider Goto Github PK
View Code? Open in Web Editor NEWSina and Tencent open authentication provider of OWIN
Home Page: https://github.com/xiaoyaojian/OwinOAuthProvider
Sina and Tencent open authentication provider of OWIN
Home Page: https://github.com/xiaoyaojian/OwinOAuthProvider
代码中把这里写死了
public TencentAuthenticationOptions()
: base(Constants.DefaultAuthenticationType)
{
Caption = Constants.DefaultAuthenticationType;
CallbackPath = new PathString("/signin-tencent");
第三方登入组件拦截401相应的response,并请求QQ,这个部分核心代码在ApplyResponseChallengeAsync
网站Demo使用的是默认的MVC5项目模板,里面给第三方组件传递了回调路径'Account/ExternalLoginCallback'(保存在AuthenticationProperties)但是在ApplyResponseChallengeAsync
中只写了这一小段有关代码
AuthenticationProperties properties = challenge.Properties;
if (string.IsNullOrEmpty(properties.RedirectUri))
{
properties.RedirectUri = currentUri;
}
所以根本没去用这个RedirectUri
有没有通过配置的方式使用http而不是https?
有没有计划加上支付宝和微信的呢?期待,感谢!
rt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.