Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

Using a REST API that requires authentication

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • Using a REST API that requires authentication
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
110
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
64
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure IT forum
Anonymous user
Not applicable

Posted: ‎2021-09-01 10:07 PM . Last Modified: ‎2021-09-02 09:58 PM

0 Likes
1
910
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-09-01 10:07 PM . Last Modified: ‎2021-09-02 09:58 PM

Using a REST API that requires authentication

I'd like to create a frontend that utilizes the REST API of a device we use internally. This device requires authentication by a user, and I'm not really sure how to acquire the credentials from the user (ADS), and possibly store these credentials in a cookie or other location so that the user only needs to login every so often.

 

I've mostly done frontend work in web development so am a little lost as to what to do. Most searches I've done lead me to methods of setting up my own server for REST API with authentication, which means I probably don't know enough to even phrase the question properly.

 

Any advice or guides to set this up would be very helpful! The API guides for the device only show examples of Python/Curl which is fairly easy to work out, I'm just not sure how to start implementing this from a web page.

 

 

 

Rapidfs Login

Labels
  • Labels:
  • Data Center Operation
  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Reply 1
gsterling
Captain gsterling Captain
Captain

Posted: ‎2021-09-08 09:39 AM

0 Likes
0
876
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-09-08 09:39 AM

Hello Scot

 

Sorry its been a while since we have responded.

 

The REST api's included with DCO and ITA require authentication for use and the user used for authentication defines the limits in regards to access to room data and permissions for the API calls they can execute. We do not use cookies for session management or remembering user credentials as it helps us keep tighter security. We use JWT session tokens to manage active session info (only session info no credentials are stored in the token).

 

This requirement gives you few options in regards to your question.

* You could ask for credentials when your user uses your web page and then use those credentials for REST api access ... this would limit access to ITA based on the credentials the user enters assuming that user account is not a full admin user.

* You could store credentials using your application. This means all web users are using the same access which may be fine if you're controlling API calls and use (which is probably the case).

 

Sorry I cannot offer you a better solution

 

Regards

 

Greg Sterling

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of