yannick-beot-sp / vscode-sailpoint-identitynow

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

Can't add a tenant in the extension #51

Open wilfil opened 1 year ago

wilfil commented 1 year ago

Describe the bug In a fresh clean installation of both VSCode and the extension, I'm not able to add a new tenant.

To Reproduce Steps to reproduce the behavior: VSCode version: 1.83.0 Extension Version: 0.0.20

try to add a tenant, and it fails.

Expected behavior The tenant should be added, but it's not.

Error message

"Error running command vscode-sailpoint-identitynow.add-tenant: command 'vscode-sailpoint-identitynow.add-tenant' not found. This is likely caused by the extension that contributes vscode-sailpoint-identitynow.add-tenant."

yannick-beot-sp commented 1 year ago

I have pushed a new version. Can you try again?

wilfil commented 1 year ago

Thanks for your quick response.

The plugin version that I see is still the 0.0.20, nothing changed and the error persists.

yannick-beot-sp commented 1 year ago

Latest version is version 0.0.21. In the extension tab, you can check for extension updates. It may help force the upgrade.

Le ven. 6 oct. 2023 à 15:54, Wilson Leite @.***> a écrit :

Thanks for your quick response.

The plugin version that I see is still the 0.0.20, nothing changed and the error persists.

— Reply to this email directly, view it on GitHub https://github.com/yannick-beot-sp/vscode-sailpoint-identitynow/issues/51#issuecomment-1750722352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATUL7LSFWL2VDSEHBZCCOWLX6AES3AVCNFSM6AAAAAA5UYHACGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQG4ZDEMZVGI . You are receiving this because you commented.Message ID: @.*** com>

wilfil commented 1 year ago

Sorry Sir, but this version is not available. I uninstalled everything and reinstalled, and the version 21 is not there. :)

I'll wait more, maybe there's a delay, not sure.

Thank you anyways. Merci!

reinaldojss13 commented 1 year ago

I have the same problem.

reinaldojss13 commented 1 year ago

Hello,

I'm very worried because I'm on some projects and I need to deliver some things and I can't use VSCode to finish them.

Do you have any predictions for a solution to this bug?

Thank you in advance for your help.

yannick-beot-sp commented 1 year ago

I'm sorry. The publication of the plugin did fail... It is published now for sure

Le ven. 6 oct. 2023 à 16:25, Wilson Leite @.***> a écrit :

Sorry Sir, but this version is not available. I uninstalled everything and reinstalled, and the version 21 is not there. :)

I'll wait more, maybe there's a delay, not sure.

Thank you anyways. Merci!

— Reply to this email directly, view it on GitHub https://github.com/yannick-beot-sp/vscode-sailpoint-identitynow/issues/51#issuecomment-1750770677, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATUL7LRGADKP7CW4NMXKBKTX6AIELAVCNFSM6AAAAAA5UYHACGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJQG43TANRXG4 . You are receiving this because you commented.Message ID: @.*** com>

reinaldojss13 commented 1 year ago

Thanks for your help.

reinaldojss13 commented 1 year ago

Hi, The tenants now is visible for me, but I can't to see any thing and I received this error: "Error: Request failed with status code 401"

wilfil commented 1 year ago

Yes, tenants appeared, but they're empty.

yannick-beot-sp commented 1 year ago

Can you try to remove and add them again? 401 would mean that the authentication failed. Also, can you open the developer tool and share the logs in the console log?

Le ven. 6 oct. 2023 à 18:11, Wilson Leite @.***> a écrit :

Yes, tenants appeared, but they're empty.

— Reply to this email directly, view it on GitHub https://github.com/yannick-beot-sp/vscode-sailpoint-identitynow/issues/51#issuecomment-1751018270, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATUL7LXNADML3LRAO4NPOETX6AUTPAVCNFSM6AAAAAA5UYHACGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGAYTQMRXGA . You are receiving this because you commented.Message ID: @.*** com>

wilfil commented 1 year ago

For me it fails with 400. Maybe something in the URL to reach the backend.

yannick-beot-sp commented 1 year ago

Can you try to use the extension provided in https://github.com/yannick-beot-sp/vscode-sailpoint-identitynow/issues/50#issuecomment-1743396782? You will need to change the extension of the file from .zip to .vsix before installing it.

reinaldojss13 commented 1 year ago

I did this but still got the same error. "Error: Request failed with status code 401"

yannick-beot-sp commented 1 year ago

I could not reproduce these errors. The latest version (0.0.22) add a lot of log to HTTP Request. Please share your logs

wilfil commented 1 year ago

Couldn't find the logs. I searched the path C:\Program Files\Microsoft VS Code\resources\app\extensions, but nothing related to IDN there. Where should I look for? Thank you for your support! :)

yannick-beot-sp commented 1 year ago

Go to Help > Toggle Developer Tools. The logs appears in the "Console" tab.

reinaldojss13 commented 1 year ago

image

It's the log.

wilfil commented 1 year ago

image

reinaldojss13 commented 1 year ago

I removed the tenant, and added it again and it worked correctly.

Thanks a lot for the help.

wilfil commented 1 year ago

I did the same, tried to remove/add the tenant, but unfortunately, the 400 error persists as per the logs above.

wilfil commented 1 year ago

image

yannick-beot-sp commented 1 year ago

@wilfil It is really really weird. Can you confirm me that you have this error when you are trying to add a tenant? If yes, it means it is when trying to get an access token and thus validate URL, client id and client secret. Can you try again and give me the line above the error? In 0.0.23, I now trace request and response/or error

wilfil commented 1 year ago

Hi @yannick-beot-sp , I can add the tenant since the version .21, but when I click on transforms, Workflows, Rules.. that's where I see the error 400. It means the authentication is okay, and it finds the tenant correctly.

yannick-beot-sp commented 1 year ago

That's incredibly weird as listing sources, rules or else is just a GET. So the request cannot be malformed per se... I really need the request and response traces.

Le mer. 11 oct. 2023 à 23:27, Wilson Leite @.***> a écrit :

Hi @yannick-beot-sp https://github.com/yannick-beot-sp , I can add the tenant since the version .21, but when I click on transforms, Workflows, Rules.. that's where I see the error 400. It means the authentication is okay, and it finds the tenant correctly.

— Reply to this email directly, view it on GitHub https://github.com/yannick-beot-sp/vscode-sailpoint-identitynow/issues/51#issuecomment-1758569684, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATUL7LWWRDRH7P4EX5AJ4ITX64FMLANCNFSM6AAAAAA5UYHACE . You are receiving this because you were mentioned.Message ID: @.*** com>