09-15-2022 07:45 AM
Hello all,
I've been coding some using the REST API for Cisco ACI, and I just had a thought that it would be nice to have a script that could launch the web GUI for a given APIC and login to it automatically (using stored credentials or a stored REST API authentication cookie). The script wouldn't necessarily be a REST API call, but I was curious if this idea is possible to code, or if anyone has already done it? I was hoping I could pass my REST API authentication cookie to the APIC Web GUI somehow to load the APIC Web GUI and already be logged in. : )
10-14-2022 01:50 AM
Hi,
Can you please post the REST API code that you are trying to use in Cisco ACI? Did you see any error? I understand that you want to bypass entering the credentials for APIC GUI every time you login(Login Automatically)?
You can also learn more about Cisco ACI through our live Ask the Experts (ATXs) session. Check out Cisco ACI ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
Thanks and regards,
Tarakesh Jetti
Customer Success Specialist - CX
10-18-2022 11:14 PM
Hello,
I found something which will really help in achieving your goal. You can use Selenium Library to accomplish the task of launching the web GUI for a given APIC and login to it automatically. Please refer the below links for your reference.
https://robotframework.org/SeleniumLibrary/
https://www.lambdatest.com/blog/automate-login-page-using-selenium-webdriver/
You can also learn more about Cisco ACI through our live Ask the Experts (ATXs) session. Check out Cisco ACI ATXs Resources [https://community.cisco.com/t5/data-center-and-cloud-knowledge/cisco-aci-ask-the-experts-resources/ta-p/4394491] to view the latest schedule for upcoming sessions, as well as the useful references, e.g. online guides, FAQs.
Thanks and regards,
Tarakesh Jetti
Customer Success Specialist - CX
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide