yannick-beot-sp / vscode-sailpoint-identitynow

Visual Studio Code extension for SailPoint IdentityNow
MIT License
39 stars 17 forks source link

Customize API path #97

Closed aunefyren closed 1 week ago

aunefyren commented 1 week ago

Is your feature request related to a problem? Please describe. We have customers which utilize vanity URLs. This means the ISC platform is not hosted on identitynow.com. It can be any thing, like sailpoint.cooldomain.com. When adding a tenant, we are only asked for the front-end URL, not the API. On your exntension, the API URL is built from the other URL, which in this case is wrong, as the API is still hosted on the SailPoint domain. This makes me unable to add the tenants.

Describe the solution you'd like Much like the Sail CLI, ask for an API URL, or give the option to provide one.

Describe alternatives you've considered If I could manually alter the config files, I could perhaps just add the tenant manually through a file? I couldn't find any config files for the tenants.

Additional context I couldn't find anything on here, or through Google, describing this issue.

yannick-beot-sp commented 1 week ago

Hi, I never had my hand on a tenant with vanity URL. My understanding is that for tenant with vanity URL, API URL is still in the form .api.identitynow.com. I'm using the tenant URL just to calculate the API URL. So if my assumption is correct, you could use the tenant in the form of musupercooldomain.identitynow.com or just musupercooldomain (as identitynow.com is implicit).

aunefyren commented 1 week ago

I thought I tried just the API prefix, but it must have slipped my mind. Tried it now and it works. Thank you so much for the help!

yannick-beot-sp commented 1 week ago

Perfect! I'm glad it helped