OAuth Tools
This page shows you how to test out MobileID with the Authorization Code Flow using OAuth Tools.
Although this guide describes how to test the Authorization Code Flow, you can also use OAuth Tools to test the OIDC CIBA standard as well.
Prerequisites
1. Sign up to Signicat
If you don't have an account already, sign up for a free Signicat account by completing the following initial preparations:
- Sign up to the Signicat Dashboard and register your profile. For more details, see the Get started with Signicat guide.
- In the Dashboard, make sure you have set up an organisation and an account.
- Additionally, to use this product, you must set up a domain.
If you have already signed up, then you just need to sign in to the Signicat Dashboard.
- You can use an existing account or create a new one.
- You must ensure that you have set up a domain for the account that you want to use.
2. Add MobileID to your account
Add MobileID to your account. To do this:
- Go to Signicat Dashboard > Products > MobileID
- Click the Add MobileID button.
3. Create MobileID user and register device
Add a MobileID user with an external reference and register at least one device. To do this, we have two alternatives:
- The fastest way which uses the MobileID Try it out page in the Signicat Dashboard. This does not require any coding experience.
- The technical way which uses the MobileID Quick start guide. This requires you to make API requests.
Use either of the buttons below to complete this step using your preferred method:
Setup for testing
1. Add Signicat MobileID as an eID
Once you have completed the prerequisites and signed up, you can add MobileID to the list of supported eIDs.
You need to add MobileID as an eID for your Signicat account. To do this:
- Go to Signicat Dashboard > Products > eID Hub > eIDs
- Click + Add new.
- From the list of eIDs, select Signicat MobileID, then click Save.
- Check that Signicat MobileID is present in your eIDs list, with status set to Active.

Add Signicat MobileID
2. Create an OIDC client
You need to create an OIDC client with MobileID scopes. To do this:
- Go to Signicat Dashboard > Products > eID Hub > OIDC clients.
- Click Create client.
- In the Primary Grant Type field, select AuthorizationCode from the dropdown menu.
- In the Client name field, give your client a name.
- In the Redirect URI field, set
https://oauth.tools/callback/code
. - In the Scope field, set
mobileid
andmobileid-extra
, in addition toopenid
.
Test Signicat MobileID
1. Open OAuth Tools
- Go to Signicat Dashboard > Products > eID Hub > OIDC clients.
- Click the Edit button beside your new OIDC client.
- Select the Overview tab, then click Try out this client on oauth.tools!.
2. Configure Signicat Playground settings
- In OAuth tools, expand the dropdown menu beside Signicat Playground, then select Settings.
- On the Endpoints tab, verify that the contents of the Metadata URL in OAuth Tools matches the contents of the Well-Known URL for client field in the Signicat Dashboard.
Where can I find this?
To find the Well-Known URL for client field in the Signicat Dashboard:
- Go to Signicat Dashboard > Products > eID Hub > OIDC clients.
- Click the Edit button beside your new OIDC client.
- Select the Overview tab.
- On the Clients tab, verify that your client is visible, and that the Code toggle button is enabled.
- Close the settings page.
3. Configure Authorization Code Flow settings
- In the left-side menu, select Authorization Code Flow.
- In section (1) Settings, set the following:
4. Start flow
- In section (1) Settings, enable the Pushed Authorization Request (PAR) toggle button.
Why should you use PAR?
Pushed Authorization Request (PAR) is an extension to the OAuth 2.0 protocol that allows clients to send authorisation requests directly to the authorisation server via a secure, back-channel HTTP POST request, before initiating the actual authorisation flow.
Enabling PAR is strongly recommended, even if it is possible for the flow to work without enabling it.
Whether it works or not depends on the ACR values that you pass in your request. Specifically, you need to use secure context withpreOperationContextContent
andpreOperationContextTitle
. - In section (2) Pushed Authorization Request, click the Send button.
- In section (3) Start Flow, click the Run button.
- In the dialog box, enter enter the external reference of the MobileID user that you created using the MobileID API.
- Select the device ID of the device that you registered using the MobileID API.
- When asked, authenticate.
- In OAuth Tools, in (4) Redeem Authorization Code, click Redeem Code.
To avoid having to click Redeem Code for every operation, you can enable this to happen automatically by enabling the Auto-redeem code toggle button.
5. Call Userinfo endpoint
- In the left-side menu, select Userinfo.
- In section (1) Settings, select Code Flow: Access Token from the dropdown menu.
- Click the Call Userinfo Endpoint button.
- The Userinfo is shown in the pane on the right-hand side.