acs

Titanium app not working, by keeping modal property for window

痴心易碎 提交于 2019-12-25 02:47:37
问题 In my android app, developing by Titanium Studio 3.1.3 SDK, I am trying to get push notifications. My code is in app.js var Cloud = require('ti.cloud'); Cloud.debug = true; var CloudPush = require('ti.cloudpush'); CloudPush.debug = true; CloudPush.enabled = true; CloudPush.showTrayNotificationsWhenFocused = true; CloudPush.focusAppOnPush = false; try { CloudPush.retrieveDeviceToken({ success : function deviceTokenSuccess(e) { deviceID = e.deviceToken; Ti.App.Properties.setString('deviceid', '

How to redirect user to ACS default login page

拥有回忆 提交于 2019-12-23 19:46:47
问题 I am using azure Access Control System (ACS) in my web application to authenticate users from different identity providers. I successfully registered my application to use ACS. Now i removed my full website security with ACS by removing following content from web.config file : <authorization> <deny users="?" /> </authorization> After removing this my users can access my website home page without login. Now on my homepage i set up a link SignIn . I want to know how can i redirect my users to

Custom RoleProvider failing when AuthorizeAttribute applied with role

大憨熊 提交于 2019-12-21 22:37:15
问题 I'm having an issue with a custom role provider in ASP.net MVC4. I implemented a very light weight RoleProvider which seems to work fine right up until I change [Authorize] public class BlahController:.... } to [Authorize(Roles="Administrator")] public class BlahController:.... } as soon as I make that change users are no longer authenticated and I get 401 errors. This is odd because my RoleProvider basically returns true for IsUSerInRole and a list containing "Administrator" for GetUserRoles

Windows Azure intermittent Identity error when parsing webconfig

余生长醉 提交于 2019-12-21 04:51:39
问题 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

How to pass required claims to OpenID identity provider with Azure ACS?

为君一笑 提交于 2019-12-20 11:13:11
问题 When looking at the request urls that Azure ACS generates I can see that ACS includes email, fullname, firstname and lastname as required claims. Further, the fullname attribute is mapped to the http://axschema.org/namePerson claim type. Now I have added MyOpenID as an Identity Provider. MyOpenID does not recognize the axschema claim, but I have successfully retrieved http://schema.openid.net/namePerson from MyOpenID. The problem is though, even if I add the http://schema.openid.net

A custom login page for Azure ACS not working

不打扰是莪最后的温柔 提交于 2019-12-19 04:14:05
问题 I downloaded the sample login page from the ACS portal for my application, which is a html file. I then configured my application with WIF, and everything worked perfectly. Since we need to handle and save an incoming querystring, so that querystring can be used later after the user had been logged in, we needed to move the html login page to a aspx page. The problem is that when I change the issuer for WIF in the web.config file to the aspx file, it stops working. When it works it looks like

Securing WCF 4.5 service using Azure ACS 2.0 [duplicate]

本秂侑毒 提交于 2019-12-18 13:48:16
问题 This question already has an answer here : Azure Active Directory and WCF [closed] (1 answer) Closed 6 years ago . How can I secure my WCF 4.5 service using Azure ACS 2.0? 回答1: Here is a basic tutorial: WCF (SOAP) Service With Federated Authentication Then you can look at samples by Dominick Baier and Brock Allen here: Thinktecture.IdentityModel.45. Also you can try to use Visual Studio tool for adding STS reference and point it to Azure ACS. AFAIK endpoint Uri is something like this for

AZURE ACS - Windows Live ID - How do I get the email and name of the authenticated user?

血红的双手。 提交于 2019-12-17 20:58:00
问题 Here is the scenario: MVC 3 application runing in AZURE Dev enviroment Authentication in AZURE ACS implemented the same way found here http://msdn.microsoft.com/en-us/library/hh127794.aspx I am trying to get the users name, and email, but I can't find a way to configure the "Claim Rule", in a way that I would get a clear text value, instead I get a string that seems to be encrypted. So can I configure the rule in a way that I get it in clear text? Or can I unencrypt the value returned? Is any

Logging into Azure Active Directory without a Domain Name

纵然是瞬间 提交于 2019-12-14 03:49:05
问题 We're looking to use Azure Active Directory as our user store for an external-facing application. Currently, our MVC/C# 4.5 app (using WIF) is authenticating against an on-premise ADFS 2.0 proxy/server via passive federation and we'd like to "port" this up to Azure. The way we're going about this, we're having ACS sit between AAD and our application such that ACS is replacing ADFS and AAD is replacing Active Directory (on prem). From a technical standpoint, we have this working. However, we

Implementing ACS on emulator web application

隐身守侯 提交于 2019-12-14 03:04:31
问题 Can we implement Access Control Service ( ACS ) without Log on into the Windows Azure Management Portal .Means can we implement ACS on window azure emulator web application? 回答1: Access Control Service, the name says it all. This is a service that's being provided by Microsoft which you can use. This means you can have an application hosted on-premises, in the cloud or even in the emulator and it will still work fine with ACS. Now, if you want to 'run' ACS in the emulator (I think this is