Add SwissID login¶
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 Asgardeo on SwissID¶
- Contact SwissID in order to become a partner.
-
Once that process is done, you need to provide following as redirection URI.
- Authorization callback URL
https://api.asgardeo.io/t/{organization_name}/commonauth
- Authorization callback URL
-
You will get the Client ID and Client Secret from the SwissID application.
- Take note of the Client ID and Client secret.
Register the SwissID¶
Now, let's register the SwissID IdP in Asgardeo.
- On the Asgardeo Console, go to Connections.
- Click New Connections and select Standard-based Idp.
- Click Create.
- Enter a unique name for your SwissID connection.

-
Enter the following details and click Finish:
Parameter Description Client ID The client ID obtained from SwissID. Client secret The 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.
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.
8. Click Finish.JWKS endpoint URL Provide the JWKS endpoint URL of your SwissID organization. For example https://<swissid_env>/idp/oauth2/connect/jwk_uri.
Enable SwissID login¶
Before you begin
You need to register an application with Asgardeo. You can register your own application or use one of the sample applications provided.
- On the Asgardeo Console, go to Applications.
-
Select your application, go to the Login Flow tab and add SwissID login from your preferred editor:
-
Click Add Sign In Option to add a new authenticator to the first step.
-
Select the SwissID connection.
-
Click Confirm to add login with SwissID to the sign-in flow.
-
-
Click Update to save your changes.
Try it out¶
Follow the steps given below.
-
Access the application URL.
-
Click Login to open the Asgardeo login page.
-
On the Asgardeo login page, Sign in with SwissID.
-
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.

