提供商托管的应用程序提示凭据 [英] Provider hosted apps prompting for credentials

查看:68
本文介绍了提供商托管的应用程序提示凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经多次关注为提供商托管应用设置的高信任应用,但我遇到了一些问题。

I have followed the high-trust apps set up for provider hosted apps several times, but I have a couple problems.

首先,当应用程序坐在另一个应用程序上时服务器和访问过,当我认为它将使用Windows凭据进行身份验证时,它会提示输入凭据。 我见过改变你的IE设置,但这是唯一的方法吗? 这不是
似乎适用于FireFox。 有没有人找到办法阻止这种情况? 该应用程序只是从其他数据源发送数据。

First, when the app is sitting on another server and accessed, it prompts for credentials when I would think it would use the Windows credentials to authenticate.  I have seen changing your IE settings, but is that the only way?  That doesn't seem to work well for FireFox.  Has anyone found a way to stop this?  The app is just rending data from another data source.

其次有人做过提供商托管的应用程序,即没有使用ACS来访问实际SharePoint网站上的数据吗? 我已经尝试了我能想到的一切,但却得到了401错误。 我还没有找到一个有效的例子。 

Secondly has anyone done a Provider hosted app, that isn't using ACS to access data on the actual SharePoint site?  I have tried everything I could think of, but get 401 errors.  I haven't found a working example of this. 

谢谢,

Craig

推荐答案

嗨克雷格, 

Hi Craig, 

您获得的401 Unauthorized错误是由于证书问题造成的。创建自签名证书并将其注册为TrustedRootAuthority以用于应用。 

The 401 Unauthorized error you are getting is due to Certificate issue. Create a Self-signed certificate and register it for TrustedRootAuthority to be used for app. 

有关创建提供商托管应用程序-OnPremise的分步过程,请参阅此链接。

http://www.sharepointpals.com/post/Step-by-Step-approach-to-create-a-Provider-Hosted-Application-in-SharePoint-2013

Refer this link on step by step procedure for Creating Provider Hosted App -OnPremise.
http://www.sharepointpals.com/post/Step-by-Step-approach-to-create-a-Provider-Hosted-Application-in-SharePoint-2013


这篇关于提供商托管的应用程序提示凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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