Live Authentication and Permission Scopes

137 Views Asked by At

I'm looking to only ask for a very specific set of permissions in my App Services Mobile App. I'm using Microsoft Account authentication and I looked at the multiple scopes but none offer me what I need.

wl.basic asks for too much, contacts, etc. How Can I ask for just access to email address and sign-in?

Wunderlist is a perfect example of what I'm looking for, image attached below: enter image description here

1

There are 1 best solutions below

3
On BEST ANSWER

Here is a blog post which describes the feature I think you're asking for: http://blogs.msdn.com/b/azuremobile/archive/2013/11/25/what-s-new-in-azure-mobile-services-1-6-4247.aspx

You can now set custom scopes required in the web-based login by using special app settings in the "configure" tab of your mobile service. The scopes are specified as space-separated values in the keys "MS_FacebookScope", "MS_GoogleScope" and "MS_MicrosoftScope" for Facebook, Google and Microsoft accounts respectively.

Documentation on which scopes are available can be found here: https://msdn.microsoft.com/en-us/library/dn631845.aspx

My guess is the two scopes you need are wl.signin and wl.emails. If you were to go with these two, then you just add the MS_MicrosoftScope and set it to "wl.signin wl.emails". You should be able to separate individual scopes using a space or a comma.