Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • You will have to have an agreement with SwissID, if you haven’t one already, we are happy to assist you in this matter.

  • For the agreement you will need to provide a callback url which looks like this https://[auth-server-url]/signin-swissid

  • Once you have the agreement, the SwissID team will provide you with a Client-Key and a Client-Secret.

  • The QoA level that you would like to use while performing an authentication request against SwissID

  • The URLs for the SwissID connection depending on the system PROD / INT.

...

Those are some examples for the Configuration, you may change them depending on your needs:

Setting

Value

Name

SwissID

Description

Swiss Auth Provider

Display name

SwissID

State

Active

Icon

SwissID

Option type

iTsense.CoreLogin2.Server.ExternalAuthentication.Options.Specific.SwissIdOAuthProviderOptions, iTsense.CoreLogin2.Server, Version=4.1911.7.1, Culture=neutral, PublicKeyToken=null

Configuration

{ "clientId": "******", "clientSecret": "******", "AuthorizationEndpoint": "https://login.int.swissid.ch/idp/oauth2/authorize", "TokenEndpoint": "https://login.int.swissid.ch/idp/oauth2/access_token", "UserInformationEndpoint": "https://login.int.swissid.ch/idp/oauth2/userinfo"}

Info

Those are the INT URLs, change them according to the system you would like to connect to

Authentication scheme

SwissID

Trusted Adress

https://login.sandbox.pre.swissid.ch

Step 3 - Define the attribute mapping

...

Example for Attribute Mappings:

Step 4 - Set SwissID as your identity provider

...

If you haven used SwissID before, you can register an Account by filling out the form. You have to verifiy verify your account with an activation-code which you will recieve receive per email.