Skip to main content

Add SwissID login

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

SwissID is a secure digital identity solution developed in Switzerland, enabling users to access various online services through a single login. It is provided by SwissSign AG, a subsidiary of Swiss Post, and is recognized by the Swiss federal government as a trust service provider

Register WSO2 Identity Platform on SwissID​

  1. Contact SwissID in order to become a partner.

  2. Once that process is done, you need to provide following as redirection URI.

    • Authorization callback URL
      https://api.asgardeo.io/t/{organization_name}/commonauth
  3. You will get the Client ID and Client Secret from the SwissID application.

  4. Take note of the Client ID and Client secret.

Register the SwissID​

Now, let's register the SwissID IdP in WSO2 Identity Platform.

  1. On the WSO2 Identity Platform Console, go to Connections.

  2. Click New Connections and select Standard-based Idp.

  3. Click Create.

  4. Enter a unique name for your SwissID connection.

    Add SwissConnect in WSO2 Identity Platform
  5. Enter the following details and click Finish:

    ParameterDescription
    Client IDThe client ID obtained from SwissID.
    Client secretThe client secret obtained from SwissID.
    Authorised redirect URL

    Provide the Authorised redirect URL of SwissID connection. For example `https://

    <swissid_env>/idp/oauth2/authorize`.

    Token Endpoint URL

    Provide the Token endpoint URL of SwissID. For example `https://

    <swissid_env>/api/v1/token`.


    Enter SwissID's Endpoint details WSO2 Identity Platform
  6. Click Next

  7. You can enter JWKS endpoint URL of SwissID or upload the public certificate. This step is not mandatory while creating the connection.

    JWKS endpoint URL

    Provide the JWKS endpoint URL of your SwissID organization. For example `https://

    <swissid_env>/idp/oauth2/connect/jwk_uri`.

  8. Click Finish.

Enable SwissID login​

Before you begin

You need to register an application with WSO2 Identity Platform. You can register your own application or use one of the sample applications provided.

  1. On the WSO2 Identity Platform Console, go to Applications.

  2. Select your application, go to the Login Flow tab and add SwissID login from your preferred editor:

    1. Click Add Sign In Option to add a new authenticator to the first step.

    2. Select the SwissID connection.

    3. Click Confirm to add login with SwissID to the sign-in flow.

      Configuring SwissID in WSO2 Identity Platform using the Visual Editor
  3. Click Update to save your changes.

Try it out​

Follow the steps given below.

  1. Access the application URL.

  2. Click Login to open the WSO2 Identity Platform login page.

  3. On the WSO2 Identity Platform login page, Sign in with SwissID.

    Login with SwissID
  4. Log in to SwissID with an existing eID.

Configure connection​

To learn more about other configurations available for the connection, refer to the add federated login documentation.

Was this page helpful?