如何将用户登录到第三方Web应用程序? [英] How to log users into a 3rd party web application?

查看:172
本文介绍了如何将用户登录到第三方Web应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用vs2013,C#和asp.net(webform)

Hi, I'm using vs2013, C# and asp.net(webform)

是否可以创建一个允许调用者传入日志的API在凭证中,API将打开浏览器选项卡,导航到第三方Web应用程序并使用传入的凭据并将用户登录,然后导航到传入的
网址,该网址会将用户带到特定网站申请页面?  关于是否可以这样做的任何例子?

Hi, is it possible to create an API that would allow caller to pass in log in credential and the API would open a browser tab, navigate to the 3rd party web application and use the passed-in credential and log the user in and then navigate to a passed-in url that would take user to a particular page of the application?  Any example on if this can be done?

谢谢。

谢谢

推荐答案

您无法使用API​​打开浏览器。用户必须手动打开它。我对你的问题有点困惑。据我所知,您正在寻找第三方认证。 Facebook和Twitter使用相同的架构。请参阅FB图API链接:https://developers.facebook.com/docs/graph-api

You cannot open browser using API. User has to open it manually. I am little bit confuse in your question. What I understand you are looking for 3rd party authentication. Facebook and Twitter use the same architecture. See FB graph API link : https://developers.facebook.com/docs/graph-api

显然,您必须从头开始实施,但您可以理解。如果这不能回答您的问题可以详细解释?

Obviously, you have to implement from scratch, but you can get the idea. If this doesn't answer your question could explain in detail?

谢谢

Jignesh。


这篇关于如何将用户登录到第三方Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆