Sample example for authenticating ServiceNow REST API through OAuth2.0
- Create an OAuth endpoint for you application in ServiceNow. Please take a note of ClientID and ClientSecret.
- Update config file with ClientID and ClientSecret.
- Run
npm run server
to start backend server. - Go to
http://localhost:5000/auth/login