Azure Mobile Service OAuth REST Client

I managed to create an Azure Mobile Service and an iOS application that connects to my service using Facebook authentication. Everything works fine from the application.

Now I am trying to access my mobile service using a regular HTTP REST client, and I am facing authentication issues. I tried to get the authentication code from FB and set the code in the X-ZUMO-AUTH header, but that will not help. I am still getting the error message "Authorization was rejected for this request."

I would really appreciate it if someone could point in the right direction on how to simulate access to a mobile service, like the iOS app does.

Thanks Ruben

+4
source share
1

, , "X-ZUMO-AUTH" , facebook; , .

, URL- : https://mymobileserviceurl/login/facebook '. facebook, , URL- https://mymobileserviceurl/login/done...... '. URL- "authenticationToken". , "X-ZUMO-AUTH". ( "ey" ASCII)

, , MobileServiceClient.LoginAsync.

+1

Source: https://habr.com/ru/post/1598133/


All Articles