I am trying to using service now activities using Oauth2.0 . I have created an application registry but i am not sure what to use as the redirect url . This url works - http://127.0.0.1:10001/authorize/ but i am not sure if this should be used in prod . What do i use as the redirect url ?
You will have to use the same redirect url for PROD as well. You will have to set two applications, one for Dev and another for PROD.
Hey @ashokkarale i read somewhere that we should not use http protocol in prod as it can cause security issues . That won’t be the case ?
Also when i authenticated using the local host url , it is redirecting me to a webpage where we had to allow the connection ? Would this only be asked the first time ?
Redirect URL is your local url and not exposed or accessible out of your network. So I think there shouldn’t be an issue.
@ashokkarale thank you for the response . Do you have any idea about the window that opens up when using the local host url . Is this something that is asked just once ?
@Anil_G we are not using the integration service/ the cloud version of UiPath
I haven’t tried this recently but can you share which window you are taking about?
Hi @DJha
For development, you can use http://127.0.0.1:10001/authorize/
, but for production, you need to use a public, secure HTTPS URL like https://your-domain.com/oauth/callback
and register it in your ServiceNow application registry.
Follow the below link for the setup: