The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
Hi All
Attempting to test APIs for Flexera SaaS Manager to view results before exporting in other ways. I cannot get any test to succeed. All tests come back with cors errors.
I am using a token generated from saas manager that works when attempting the same api call using python.
Anyone else having issues or is it user error?
Thanks
Mar 06, 2024 01:18 PM
I was able to get the developer site tests working. The API key created in SaaS Manager needs to be run through the token process to generate a refresh token. This refresh token is used in the developer site for testing.
Mar 07, 2024 09:58 AM
I think the APIs are currently set up to not allow CORS preflight requests, which sounds like it is probably what is affecting you here.
The configuration of the Flexera One APIs in this space is currently under review. Would you mind raising a case with Flexera Support detailing exactly how you are calling the API and the errors you are seeing so that the Support team can link up your query with the review that is underway?
Mar 06, 2024 04:32 PM
I'll raise a case today. I am testing using the open developer.flexera.com site below.
Mar 07, 2024 09:04 AM
I was able to get the developer site tests working. The API key created in SaaS Manager needs to be run through the token process to generate a refresh token. This refresh token is used in the developer site for testing.
Mar 07, 2024 09:58 AM