Here is a breakdown of the tokens that you will need to replace when consructing the URL mentioned above.
|domain||This should be your domain that OpenAthens has registered for you||Please contact OpenAthens service desk if you need help finding this||ps.openathens.net|
|appId||This should be the unique ID of the Keystone application you are using your own discovery service with||Login to the OpenAthens Publisher dashboard and view the Keystone application details to obtain the appId||1667f93a-2a82-4418-a72b-747daa6eb9a3|
|encodedEntity||This should be the ID of the entity that will perform the identity authentication, which should be known to OpenAthens||This value should be encoded to make it URL safe||https%3A%2F%2Fidp.eng.nhs.uk%2Fopenathens ( - unencoded).|
|encodedTarget||This should be where you want the user to be returned to after they have successfully authenticated||This value should be encoded to make it URL safe||https%3A%2F%2Fdemo-oidc.openathens.net%2Fembedded.php ( - unencoded)|
If you have constructed the URL correctly, the OpenAthens connect service will handle everything else for you