[IdPReact] PWA apps throwing 403 exception in IOS
Question
Forge component by Telmo Martins
Application Type
Mobile

Currently we are using PWA only, so I am using IDP react for login.

This is working perfectly fine in Android and browser.

But in IOS, it is sometimes throwing 403 error(Mainly on App going on background and selecting again.

I am getting Invalid login error in the service center for Data actions. Sometimes even after getting UserId from IDP, it is passing 0 as the user in the data action request.

1. This is from my home page dataaction

Invalid Login

[1] Invalid Login
at OutSystems.RESTService.Controllers.ScreenServicesApiController.endpoint(String input, String endpointName, String apiVersion, EndpointImplementationDelegate implementation)

[2] Invalid CSRF request
at OutSystems.HubEdition.RuntimePlatform.NewRuntime.Authentication.LoginInfo.Validate()
at OutSystems.HubEdition.RuntimePlatform.NewRuntime.Authentication.MobileSessionInfo.Validate()
   at OutSystems.RESTService.Controllers.ScreenServicesApiController.endpoint(String input, String endpointName, String apiVersion, EndpointImplementationDelegate implementation)


2.This is from GetUserNamefromServer dataaction

User role required
at ssSGOne.ScreenServices.SGOne_MainFlow_SiteListScreen_Controller.CheckPermissions(HeContext heContext)
at ssSGOne.ScreenServices.SGOne_MainFlow_SiteListScreen_Controller.<DataActionGetData>b__1(HeContext heContext, String screenName, JObject screenModel, JObject inputParameters, JObject clientVariables)
   at OutSystems.RESTService.Controllers.ScreenServicesApiController.endpoint(String input, String endpointName, String apiVersion, EndpointImplementationDelegate implementation)


ScreenRequest.PNG

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.