You can use Portal for ArcGIS or ArcGIS Online to configure security for the ArcGIS Event Editor web app. Use the following steps to register Event Editor.
- Sign in to your Portal for ArcGIS or ArcGIS Online account.
 - Click My Content.
 - Click Add item.
 - Choose An Application.
The Application dialog box appears.

 - Choose Web Mapping as the type of item.
 - Choose Ready to Use as the purpose of the web app.
 - Choose JavaScript as the API.
 - Type the URL of the Event Editor web app.
For example, http://<myServer>/Event Editor
 - Type the name of the web app in the Title text box.
 - Type tags in the form of words or short phrases that describe your item.
 - Click Add Item.
 - Click My Content.
 - Click the item you just added from the list of items.
 - Click the Settings tab.
 - Register Event Editor with your portal by clicking Register in the App Registration section.
- Choose Browser as the app type.
 - Specify the Redirect URL, which should be the server hosting your Event Editor web app.
For example, http://<myServer>.
 - Click Add.
 - Click Register.
Once you have registered your app, you will be provided with an app ID.
Learn more about registering Event Editor with Portal for ArcGIS
 - Copy the ID that was provided.
 
 - Open the  Learn more about registering Event Editor with Portal for ArcGIS configuration file (config.json) in the EventEditor web folder.
This folder may be located at <Installation location>\Server\Web\EventEditor.
 - Browse to the portalAppId section and paste the app ID provided when you registered Event Editor.
 - Publish and configure the map service.