EcoStruxure IT forum
Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-07-17 06:03 AM
Hi team, as stated in the EcoStruxure™ IT Data Center Expert REST API documentation:
...access tokens have an expiry of 5 minutes
If I generate multiple access token within 1 minute, why is the response 'expires_in' in each request, is reduce from 300 (5 minutes) ever since my first request? My understanding is, if I generate multiple tokens, I'll get multiple tokens with the same validity (300 secs).
Please advice whether the current outcome is the expected output by design. Thank you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-07-30 05:48 AM
@ϟϟ,
The DCE REST API only allows for a single token per user account being used to generate the token. If you attempt use the same user again to obtain an access token, the same token will be returned to you as previously generated.
If multiple tokens are needed for multiple applications or security reasons, use multiple DCE user accounts for authentication.
In an upcoming release, multiple concurrent access tokens per user is planned to be supported.
Kind Regards,
Cory
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-07-30 05:48 AM
@ϟϟ,
The DCE REST API only allows for a single token per user account being used to generate the token. If you attempt use the same user again to obtain an access token, the same token will be returned to you as previously generated.
If multiple tokens are needed for multiple applications or security reasons, use multiple DCE user accounts for authentication.
In an upcoming release, multiple concurrent access tokens per user is planned to be supported.
Kind Regards,
Cory
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-10-01 09:14 AM
Hello @ϟϟ,
Data Center Expert 8.2 just launched with some RestAPI improvements. Check out the release notes here: https://community.se.com/t5/Data-Center-Expert-release-notes/EcoStruxure-IT-Data-Center-Expert-8-2-0...
Kind Regards,
Cory
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.