Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add a tenant in the extension #51

Open
wilfil opened this issue Oct 5, 2023 · 25 comments
Open

Can't add a tenant in the extension #51

wilfil opened this issue Oct 5, 2023 · 25 comments
Labels
bug Something isn't working

Comments

@wilfil
Copy link

wilfil commented Oct 5, 2023

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."

@wilfil wilfil added the bug Something isn't working label Oct 5, 2023
@yannick-beot-sp
Copy link
Owner

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

@wilfil
Copy link
Author

wilfil commented Oct 6, 2023

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
Copy link
Owner

yannick-beot-sp commented Oct 6, 2023 via email

@wilfil
Copy link
Author

wilfil commented Oct 6, 2023

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
Copy link

I have the same problem.

@reinaldojss13
Copy link

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
Copy link
Owner

yannick-beot-sp commented Oct 6, 2023 via email

@reinaldojss13
Copy link

Thanks for your help.

@reinaldojss13
Copy link

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
Copy link
Author

wilfil commented Oct 6, 2023

Yes, tenants appeared, but they're empty.

@yannick-beot-sp
Copy link
Owner

yannick-beot-sp commented Oct 6, 2023 via email

@wilfil
Copy link
Author

wilfil commented Oct 6, 2023

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

@yannick-beot-sp
Copy link
Owner

Can you try to use the extension provided in #50 (comment)?
You will need to change the extension of the file from .zip to .vsix before installing it.

@reinaldojss13
Copy link

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

@yannick-beot-sp
Copy link
Owner

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
Copy link
Author

wilfil commented Oct 8, 2023

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
Copy link
Owner

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

@reinaldojss13
Copy link

image

It's the log.

@wilfil
Copy link
Author

wilfil commented Oct 9, 2023

image

@reinaldojss13
Copy link

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

Thanks a lot for the help.

@wilfil
Copy link
Author

wilfil commented Oct 10, 2023

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

@wilfil
Copy link
Author

wilfil commented Oct 11, 2023

image

@yannick-beot-sp
Copy link
Owner

@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
Copy link
Author

wilfil commented Oct 11, 2023

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
Copy link
Owner

yannick-beot-sp commented Oct 12, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants