I finally managed to deploy the server to Azure, all set up and running. However, when the app launches, there is a HTTP 401 error popping.
The method that is being called at start up is the one for registering the device to the server. In the debugger I can see the data being sent but the server returns an error instead so the app can't pass to the next step.
I've found that the error might be that the function needs an authorization, but is set to anonymous
Below is a test made with Postman:
Can you tell which function the client first calls at start up by executing Api(context).createProfile()call?
I finally managed to deploy the server to Azure, all set up and running. However, when the app launches, there is a HTTP 401 error popping. The method that is being called at start up is the one for registering the device to the server. In the debugger I can see the data being sent but the server returns an error instead so the app can't pass to the next step. I've found that the error might be that the function needs an authorization, but is set to anonymous
Below is a test made with Postman:
Can you tell which function the client first calls at start up by executing
Api(context).createProfile()
call?Thanks for you time.