- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Refresh token in morpheus plugin
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2024 01:04 AM
12-11-2024 01:04 AM
Refresh token in morpheus plugin
Hello Experts,
- I am working on the generic plugin integration, And in this plugin I want to get the
/api/servers
information. - Generic integration plugin will get these data through morh-api so it needs to pass the refresh-token. can you suggest me how to get this token if I already logged in morheus ui?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2024 04:29 AM
12-11-2024 04:29 AM
Re: Refresh token in morpheus plugin
After you have generated a token, you cannot at a later time retrieve the refresh-token per my understanding. Now, I have created the Morpheus Uplink plugin that utilizes Morpheus credentials and does OAuth to query Morpheus API endpoints. This may help you.
More specifically, look at the login
method within this file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2024 07:02 AM
12-16-2024 07:02 AM
Re: Refresh token in morpheus plugin
Hi @cbunge, I tried above approach and its working but I need one more enhancement to this flow.
For example: I don’t want to get the credentials from Infrastructure → Trust → UserName & Password. IF I am already logged in through the Morpheus UI, So I want only token to communicate morpheus api. Please suggest me how to achieve this.
Thanks,
Umesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2024 01:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2024 09:54 AM
12-15-2024 09:54 AM
Re: Refresh token in morpheus plugin
(post deleted by author)