Hi everyone,
I try to implement login widget and page restriction in ArcGIS Experience Builder Developer Edition 1.19 and it seems to work well in the builder mode but when I deploy the application to web server some weird behaviour I noticed.
My Setup
Web Server: IIS
ArcGIS Enterprise 11.5
Application URL: http://localhost
Landing Page id = page_2
Main Application Page id = page_0
1. If the user click cancel login after click sign in from login widget in the landing page, the application will return to non-existence URL (see the URL address)
/page/landing?oauth_error_code=access_denied&fromUrl=undefined

Given that the landing page is home page, it should go to ?page=page_2 or just / ?
2. For page restriction out of the box message, the Go to home page points to /experience?id=undefined upon click

/experience should be only for builder preview right?
Are both of these issues a bug or I configured things wrongly? I can see the same behaviour in both 1.19 and 1.20
Note: This behavior only appear after we download the experience and deploy to web server, in builder mode this behavior does not occur.