You can secure access to Roadway Reporter using a OAuth 2-based authentication mechanism. To enable OAuth 2-based authentication in Roadway Reporter, you must first register the web app with either Portal for ArcGIS or ArcGIS Online. If you would like to use a secured map service, you must register the Roadway Reporter web app with Portal for ArcGIS to federate your ArcGIS Server site to support single sign-in.
- Sign in to your Portal for ArcGIS or ArcGIS Online account to add and register the Roadway Reporter web app.
- Open the Roadway Reporter configuration file.
- Browse to Security and set enable to true.
注意:
By default, refreshTokenExpiration is set to one week. The refresh token is not renewed once it expires, and you will be prompted to sign in to your portal upon refresh token expiration.
- Specify the appID, and Url. For more information, see Configuring your portal for Roadway Reporter.
Start the Roadway Reporter web app in a web browser. Use your portal credentials to sign in. Once the supplied credentials are verified by Portal for ArcGIS or ArcGIS Online, you will be directed to a secure Roadway Reporter environment.