Issue
Below is the description on how to generate a one-time authorization link and log in to the Imunify360 UI without a password on a stand-alone installation.
Environment
- Imunify360 stand-alone
Solution
1. Get the token for the root account:
# imunify360-agent login get --username root
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDAyNDQwMTAuMDk5MzE5LCJ1c2VyX3R5cGUiOiJjbGllbnQiLCJ1c2VybmFtZSI6ImNsdGVzdCJ9.V_Q03hYw4dNLX5cewEb_h46hOw96KWBWP0E0ChbP3dA
2. Open Imunify UI on the server using the token (replace example.com with the URL where Imunify UI is available):
https://example.com/#/login?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MDAyNDQwMTAuMDk5MzE5LCJ1c2VyX3R5cGUiOiJjbGllbnQiLCJ1c2VybmFtZSI6ImNsdGVzdCJ9.V_Q03hYw4dNLX5cewEb_h46hOw96KWBWP0E0ChbP3dA
Reaching a URL with a token will access the Imunify UI without asking for a password.
Comments
0 comments
Please sign in to leave a comment.