acs

Windows Azure intermittent Identity error when parsing webconfig

隐身守侯 提交于 2019-12-03 15:03:30
This issue happens seemingly randomly after publishing. The site will work fine and then bam, I get this error parsing the webconfig. I just republish and it works fine for a bit again. When publishing, I checked the box to remove existing files so there shouldn't be garbage laying around. This is an MVC4 project using .net 4.5 and Azure Access Control Service (ACS) integrated with Yahoo!. This error occurs when redirecting back from Yahoo. This way happening every time, but I found a post (which I can not find now, of course) where there was a bug with the 4.5.1 Identity and Access Visual

Does Azure ACS support saml 2.0 IdPs like Salesforce?

强颜欢笑 提交于 2019-12-03 14:05:19
I have no Access Control Service (ACS) installed, but I've seen on some online video demo that Salesforce is not in the list of available pre-installed identity providers. Salesforce can be configured as IdP (standard SAML 2.0 is used). Can I setup ACS so that I can use Salesforce as identity provider? Thanks I haven't personally used a SAML 2.0 token provider, but it's official description says that ACS supports SAML 2.0 tokens. A list of supported protocols are OAuth 2.0, WS-Trust, and WS-Federation (as by official statement ). Also, there is no currently automated (with user interface) way

Is it possible to get ACS claims without editing web.config?

蓝咒 提交于 2019-12-03 12:53:24
问题 Is it possible to set up the realm URL, claim types, etc for azure ACS without editing the web.config? Can you set up these required elements programmatically somehow? EDIT: Specifically I want to get rid of this: <federatedAuthentication> <wsFederation passiveRedirectEnabled="true" issuer="https://mynamespace.accesscontrol.windows.net/v2/wsfederation" realm="http://localhost:81/" requireHttps="false" /> </federatedAuthentication> Basically, I don't want the realm being specified in the web

How to develop user-authenticated REST service with Azure ACS

ⅰ亾dé卋堺 提交于 2019-12-03 03:41:46
I'm developing a REST service that uses MS Azure Access Control Service for authentication. If the examples are any indication, the typical way to secure a REST service this way would be to provide a global username and pw, private key, or X.509 cert for the protected service. However, I want to use the passive user login mechanism on a mobile device with a flow more like the following: Unauthenticated user attempts to access protected service from app Mobile app redirects to browser app (or embedded browser) User selects identity provider to use for login (facebook, google, etc.) from ACS

Is it possible to get ACS claims without editing web.config?

自闭症网瘾萝莉.ら 提交于 2019-12-03 03:10:05
Is it possible to set up the realm URL, claim types, etc for azure ACS without editing the web.config? Can you set up these required elements programmatically somehow? EDIT: Specifically I want to get rid of this: <federatedAuthentication> <wsFederation passiveRedirectEnabled="true" issuer="https://mynamespace.accesscontrol.windows.net/v2/wsfederation" realm="http://localhost:81/" requireHttps="false" /> </federatedAuthentication> Basically, I don't want the realm being specified in the web config, but rather in code somewhere. I've tried overriding ClaimsAuthenticationManager and commenting

Azure ACS + Form value storage

♀尐吖头ヾ 提交于 2019-12-02 10:43:08
问题 I'm using Azure ACS in my ASP.net MVC 3 website (hosted in Azure too), the scenario is this: A user first enters my website and fills a one field form, then they need to chose a provider and login, but first I want to store the field value so when they come back from login I'm able to create a profile with this value for the loged in user. So I believe when they first enter the site and then leaves to login and enters the site again those are two different sessions am I right? and that's the

Is identity delegation via WS-Trust/ActAs supported in ACS?

断了今生、忘了曾经 提交于 2019-12-02 08:10:53
问题 I'm just getting started with claims-based security and have a question related to identity delegation. I've managed to set up a local dummy STS and a couple of WCF services that relies on it for authentication. A web application authenticates the user via the STS and makes a call to Service A on behalf of the user (using ChannelFactory.CreateChannelActingAs). This works fine. Now I would like to use Azure Access Control Service (ACS) as a federation provider and sign in using a Google

Passing URL parameters from Azure ACS to my custom Identity Provider?

眉间皱痕 提交于 2019-12-02 07:43:28
We're developing a custom identity Provider(STS) to authenticate our applications. In this project we're using the Azure Acesses Control Services 2.0 and our Identity provider is a wsfederation. So, when starting the project, the azure ACS has had a url parameter called wctx, this parameter served to pass anything, and the ACS keeping the parameter when de ACS redirect to Identity provider, however now the parameter's value is encrypted when the login page is open, so we can't read. I'd like to pass a culture and who is calling the login page. Anybody have any ideia? The wctx parameter should

Is identity delegation via WS-Trust/ActAs supported in ACS?

萝らか妹 提交于 2019-12-02 03:21:19
I'm just getting started with claims-based security and have a question related to identity delegation. I've managed to set up a local dummy STS and a couple of WCF services that relies on it for authentication. A web application authenticates the user via the STS and makes a call to Service A on behalf of the user (using ChannelFactory.CreateChannelActingAs ). This works fine. Now I would like to use Azure Access Control Service (ACS) as a federation provider and sign in using a Google account (or whatever) instead, getting rid of the dummy STS altogether. I'm able to authenticate to the web

Azure ACS Set Up in C#

前提是你 提交于 2019-12-01 08:49:31
问题 I am looking at several examples for using ACS, and decidedly they do make me feel stupid. I looked at the tutorial online it seems like all I need was the following line in the config: httpRuntime requestValidationMode="2.0" But some other examples in this sample project SimpleMVC4 had no such line in its configuration. Worse, I didn't see anything in there that references ACS library whatever that might be. The MVC3 sample on the other hand had a bunch of gibberish including an ajax request