Environment : Azure and its emulator as server side & WP7 as client .Our requirement is to support Google,Live & Custom authentication in a Windows Phone 7 application using Azure as server side technology.
I have setup
IdentityServer as one of the external authentication provider in Azure and it works fine till the successful login .The Azure toolkit is not able to identify that the user has logged in in order to hide the login screen.
What I did ?
- Hosted the IdSrv in local IIS
- Downloaded the federationmetadata.xml
- Created new external identity provider in my Azure ACS portal by uploading the federationmetadata.xml
- Windows Phone 7 App automatically got the link to my IdSrv and loaded the login screen from my local IIS.
- I use ASP.Net membership to authenticate the IdSrv and it worked.
Issue is ScriptNotify event of WebBrowser in WP 7 app is not getting fired if the identity provider is IdentityServer and hence the toolkit it not hiding the browser. It simply show the IdSrv logged in page.
I know that window.external.notify() method will fire the event. But not sure how to get and pass the security token to that event.
Thanks in advance.
- Joy
www.joyfulwpf.blogspot.com , http://silverlightedweb.blogspot.com/