Hi there,
I've been trying to run the reserve app through localhost to get prepared for some upcoming enhancements, my team has enabled CORS on the server as per the documentation, however, we still have two issues.
The first one has to do with Cross-site requests and the session cookie which is not being passed to localhost making all the requests to TRIRIGA fail.
The second issue has to do with the new Microsoft integration as the OAuth profile is registered to work with our app server, but it is not set up to work with localhost, therefore Microsoft can’t authenticate the user. We are not sure if this issue is also related to the Cross-site request one.
Do you have any suggestions and guidance on how to run the new Reserve app on localhost?
Note: Below you can find our setup for the environment variables:
REACT_APP_INSTANCE_ID=-1
REACT_APP_TRIRIGA_URL=[server URL]
REACT_APP_CONTEXT_PATH=
REACT_APP_MODEL_AND_VIEW=triRoomReservationWebApp
REACT_APP_BASE_PATH=/
REACT_APP_EXPOSED_NAME=tririgaRoomReservation
REACT_APP_TRIRIGA_OAUTH_PROFILE_NAME=TestProfile
REACT_APP_SSO=false
TRIRIGA_USER=testUser
TRIRIGA_PASSWORD=password