accelerande / teldutala.fo

Teldutala.fo bugs and issues
1 stars 0 forks source link

Upgrade teldutala.fo (VoicePortal backend) to use mobile identity #21

Open izaxon opened 7 years ago

izaxon commented 7 years ago

https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-dotnet-backend-how-to-use-server-sdk Microsoft.Azure.Mobile.Server.Login or Microsoft.Azure.Mobile.Server.Authentication?

Right now logging in with e.g. Microsoft account on the device and the server give different id/tokens.

izaxon commented 7 years ago

https://azure.microsoft.com/sv-se/documentation/learning-paths/appservice-mobileapps/

izaxon commented 7 years ago

https://docs.microsoft.com/sv-se/azure/active-directory/develop/active-directory-v2-devquickstarts-dotnet-web https://docs.microsoft.com/sv-se/azure/active-directory/develop/active-directory-appmodel-v2-overview

izaxon commented 7 years ago

Use instructions from here: https://blogs.msdn.microsoft.com/appserviceteam/2016/12/21/using-azure-app-service-authentication-with-asp-net-classic-mvc-applications/

Replace current authentication (Facebook etc.) with the above.

izaxon commented 7 years ago

This includes moving the tables from SQL Server (teldutala.fo) to Mobile Easy tables in Azure.

izaxon commented 6 years ago

Following https://docs.microsoft.com/en-us/aspnet/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on...

izaxon commented 6 years ago

It is not possible to have the mobile and site url:s at the same time... image

izaxon commented 6 years ago
izaxon commented 6 years ago

Maybe we have to move from using https://portal.azure.com/#resource/subscriptions/0238e0ba-68b8-4760-974d-3684e7a7d365/resourceGroups/mobile-905c714e-34b9-407c-a494-ad43852dedcf/providers/Microsoft.Web/sites/mobile-905c714e-34b9-407c-a494-ad43852dedcf/authv2 (Mobile...) for the apps to https://portal.azure.com/#resource/subscriptions/0238e0ba-68b8-4760-974d-3684e7a7d365/resourceGroups/Api-Default-North-Europe/providers/Microsoft.Web/sites/VoicePortalApp/authv2 (VoicePortalApp) => this to get them to use the same URL.