I'm using Xamarin Forms authentication with Auth0. Backend service is Azure Mobile App. Am trying to pass over the authorization token back to the service via :
MobileServiceUser usr = new MobileServiceUser(User.UserName);
usr.MobileServiceAuthenticationToken = User.jwt;
App.client.CurrentUser = usr;
I'm yet to handle this in my Azure App. When I pass the user as above, I encounter following error in Xamarin project :
Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException: The request could not be completed. (Unauthorized)
This in fact that I have declared Anonymous access in my controller :
[AuthorizeLevel(AuthorizationLevel.Anonymous)]
public class MovementController : TableController<MoveHeaderDto>
How do I suppose to handle MobileServiceUser in my Azure Mobile App?