Epic EMR Help configuration with Digest token

eselman1
Tera Expert

Is anyone able to offer guidance on next steps?

I've been following all the steps from this link: How to Configure Digest Token Authentication for EMR Help with Epic Hyperspace and Hyperdrive - Supp...

 

The Epic FDI record is configured, CryptoJS libary added, the SSO script include, the widget, the identity provider record are all configured exactly the same as the instructions (with the secret passphrase from Epic and the sys ID from the id provider is added to the FDI record.

 

When ServiceNow is launched from Epic, the user is redirected to the service portal login page.

eselman1_0-1746028889121.png

 

 

The only warning I see in the logs is: 

com.glide.script.RhinoEcmaError: Cannot find function getProperty in object com.glide.script.fencing.ScopedGlideSession@43261bec.
sp_widget.851da763477c6610c6cf46dc416d43a6.script : Line(7) column(0)
4:
5:
6: if (!data.is_logged_in) {
==> 7: var gs_nav_to = gs.getSession().getProperty("nav_to");
8: gs.getSession().putProperty("nav_to", null);
9: if (!gs.getSession().getProperty("starting_page"))
10: gs.getSession().putProperty("starting_page", gs_nav_to);

 

The above error is referencing the EMR Help Login SSO Helper Widget in the server script field, which was just copied from the ServiceNow support link.

1 REPLY 1

williame
Tera Contributor

It appears from the error that this is related to the widget being in the scoped app. 

 

What is the link your using in the FDI record? Are you using the EMR Portal page?

 

Is your EMR Help Login SSO Helper in the Global Scope? ( it should be )