Skip to content

Migration instructions

For all integrations that have already connected the ADSwissCI Authentication Interface, this overview has been created to enable a quick and efficient migration. Please note: Only systems that sign e-prescriptions need to make this adjustment. The dispensing side is not affected.

  1. Please contact us at support@hin.ch for the activation of your Client ID and the test identities for the new authentication endpoint.
  2. You must reconfigure the URL in 3 places (see table below).
  3. The signing command now uses the prefix oauth: instead of epdg:
  4. The token group changes from adswiss_ci_prep to hin_authservice_int for the test environment
  5. and from adswiss_ci to hin_authservice for the productive environment.

Test environment:

URLoldnew
fetch auth tokenhttps://oauth2.ci-prep.adswiss.hin.ch/authService/EPDAuthhttps://oauth2.authservice-int.hin.ch/v1/oauth
return urlhttps://ci-prep.adswiss.hin.ch/samlService/saml/authenticate?guid={...}https://authservice-int.hin.ch/v1/oauth/authorize?guid={...}
fetch auth handlehttps://oauth2.ci-prep.adswiss.hin.ch/authService/EPDAuth/auth_handlehttps://oauth2.authservice-int.hin.ch/v1/oauth/auth_handle

Production environment:

URLaltneu
fetch auth tokenhttps://oauth2.ci.adswiss.hin.ch/authService/EPDAuthhttps://oauth2.authservice.hin.ch/v1/oauth
return urlhttps://ci.adswiss.hin.ch/samlService/saml/authenticate?guid={...}https://authservice.hin.ch/v1/oauth/authorize?guid={...}
fetch auth handlehttps://oauth2.ci.adswiss.hin.ch/authService/EPDAuth/auth_handlehttps://oauth2.authservice.hin.ch/v1/oauth/auth_handle

version 1.0.0