It's been requested that access is provided to the authentication API of Dashboards for embedded purposes.
Currently username and password need to be entered, while on embedded purposes this is not wanted.
Is something like this possible?
If you want to embed the Dashboards app within Cube (or another DataMiner application having an SLNet or WebAPI connection), then you can make use of the ticket url parameter (see Gilles answer).
If you want to embed the Dashboards app within a 3rd party app which does not have an SLNet nor WebAPI connection, then the most secure way of doing this would be to use external authentication (like SAML), which both DataMiner and the 3rd party app should use.
Access to the Web applications can also be granted through a ?ticket=[authentication ticket] query parameter. This will try to authenticate using the ticket and will bypass the login screen when the ticket is valid.
This is for instance how Cube can show a new ticket form in the embedded ticketing app, without the need of a manual login.
The authentication ticket can be requested through a RequestTicketMessage.
Doesn’t this method require an active SLNet connection already?
Yes, it is required that you generate the ticket up front with an active SLNet connection.
I was under the impression that those tickets expire after a short time (a minute or so), especially after a DataMiner restart. So for embedding dashboards in third party applications this would be an obstacle
An authentication ticket can also be requested from the WebAPI (RequestLoginAsTicket). Authentication tickets expire, and thus should only be requested at the time when they are needed to be used.
So when the 3rd party application has web API access they perform a RequestLoginAsTicket call and then use that ticket in the URL for the dashboard?
We’ll give it a try.