Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion gatsby-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,13 @@ export const createPages: GatsbyNode['createPages'] = ({ actions }) => {
});
createRedirect({
fromPath: '/eid-specifics/order-no-vipps',
toPath: '/verify/e-ids/norwegian-vipps/#ordering-norwegian-vipps-login',
toPath: '/verify/e-ids/vipps-mobilepay/#ordering-vipps-mobilepay',
isPermanent: true,
force: true,
});
createRedirect({
fromPath: '/verify/e-ids/norwegian-vipps',
toPath: '/verify/e-ids/vipps-mobilepay',
isPermanent: true,
force: true,
});
Expand Down
Binary file removed src/pages/verify/e-ids/images/no-vipps.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 0 additions & 79 deletions src/pages/verify/e-ids/norwegian-vipps.mdx

This file was deleted.

77 changes: 77 additions & 0 deletions src/pages/verify/e-ids/vipps-mobilepay.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
product: verify
category: eIDs
sort: 2
title: Vipps MobilePay
subtitle: Learn more about Vipps MobilePay token contents, how to create test users and how to gain access to production.
---

import VippsMobilepayJwtSnippet from '../../../snippets/jwt-payloads/vipps-mobilepay';

## JWT/Token example

<VippsMobilepayJwtSnippet />

## Test users

To test Vipps MobilePay, you need to install the Vipps app in a test version on your device. Follow the Vipps [guide with instructions](https://developer.vippsmobilepay.com/docs/test-environment/#test-apps) on how to set up test apps.

<Highlight icon="info">
Creating a test user with Vipps MobilePay requires a test phone number and NIN/SSN. To request
both, please send an email to [orders@idura.eu](mailto:orders@idura.eu) and include "Vipps
MobilePay test credentials" in the subject line.
</Highlight>

## Available data / scopes

Username is always made available.

For applications configured to use a `static` `scope` strategy, address, email, phone and birthdate are always made available.
You can also configure your tenant so it requests SSN as well.

For applications configured to use a `dynamic` `scope` strategy, the following `scope` tokens can be supplied: `address`, `email`, `phone`, `birthdate` and `ssn` (`scope=openid phone email...`).

### Example (partial) authorize request with scopes

```text
https://YOUR_SUBDOMAIN.idura.broker/oauth2/authorize?scope=openid phone ssn&...
```

Alternatively, you can send them in the `login_hint`

```text
https://YOUR_SUBDOMAIN.idura.broker/oauth2/authorize?...&login_hint=scope:phone scope:ssn&...
```

which can be a useful if you are working with technology that does not let you control the `scope` value.

## Ordering Vipps MobilePay

To start accepting real user logins, you must **register with Vipps MobilePay as a merchant** and receive a set of secret keys (_client credentials_).

### Prerequisites for merchant registration

You must meet the following requirements to be registered as a merchant.

- Your company must be registered in your national business registry (Brønnøysundregistrene in Norway, Virk in Denmark, PRH in Finland).
- You must have a bank account in the country of registration associated with your company's organization number.
- The person signing the merchant agreement must possess a valid local eID (BankID in Norway/Sweden, MitID in Denmark, FTN in Finland).
- Before you can order the client credentials from Vipps, you will need to have created a production domain in Idura Verify as described in the [Getting ready for production guide](/verify/guides/production).
Once you have set up the production domain, go to the [Identity sources](https://dashboard.idura.app/providers/NO_VIPPS) section and take note of the URL displayed. It must be supplied during merchant registration.

![Vipps MobilePay setup](./images/vipps-mobilepay.png)

### Signing a merchant agreement

You can register as a merchant by signing an agreement at [https://vippsmobilepay.com/en-NO/online/login](https://vippsmobilepay.com/en-NO/online/login).

Please consider the notes below when filling out the registration form:

- The field labelled _"Navn på salgssted slik det vil vises for kunden i Vipps-appen"_ is to be filled out with the name that should appear in the Vipps app when a user logs in.
- In the section labelled _"Organisasjonens kontaktinformasjon"_, please enter the name and details of the person who will receive the secret keys. This person will also be granted access to the [Vipps administration portal](https://portal.vipps.no/login).

### Next steps

After you request client credentials by filling out the online agreement, your application is processed by Vipps. If you are approved, the designated contact person will receive the credentials.

Once you have received the client credentials, enter them into the Idura Verify management UI to configure your Vipps MobilePay integration.
2 changes: 1 addition & 1 deletion src/pages/verify/guides/production.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Each eID provider has specific requirements. Use the links below to review the n

- [Swedish BankID](/verify/e-ids/swedish-bankid/#ordering-swedish-bankid)
- [Norwegian BankID](/verify/e-ids/norwegian-bankid/#ordering-norwegian-bankid)
- [Norwegian Vipps](/verify/e-ids/norwegian-vipps/#ordering-norwegian-vipps-login)
- [Vipps MobilePay](/verify/e-ids/vipps-mobilepay/#ordering-vipps-mobilepay)
- [Danish MitID](/verify/e-ids/danish-mitid/#order-mitid-for-production)
- [Finnish Trust Network](/verify/e-ids/finnish-trust-network/#ordering-a-production-agreement)

Expand Down
8 changes: 4 additions & 4 deletions src/pages/verify/reference/token-contents.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ subtitle: Examples of JWT payloads for selected eIDs.
import SwedishBankIdJwtSnippet from '../../../snippets/jwt-payloads/swedish-bankid';
import NorwegianBankIdJwtSnippet from '../../../snippets/jwt-payloads/norwegian-bankid';
import NorwegianBankIdBiometricJwtSnippet from '../../../snippets/jwt-payloads/norwegian-bankid-biometric';
import NorwegianVippsJwtSnippet from '../../../snippets/jwt-payloads/norwegian-vipps';
import VippsMobilepayJwtSnippet from '../../../snippets/jwt-payloads/vipps-mobilepay';
import DanishMitIDJwtSnippet from '../../../snippets/jwt-payloads/danish-mitid';
import DanishMitIDAddressJwtSnippet from '../../../snippets/jwt-payloads/danish-mitid-address';
import DanishMitIDCompanySignatoryJwtSnippet from '../../../snippets/jwt-payloads/danish-mitid-erhverv-company-signatory';
import DanishMitIDErhvervJwtSnippet from '../../../snippets/jwt-payloads/danish-mitid-erhverv';
import FtnJwtSnippet from '../../../snippets/jwt-payloads/finnish-trust-network';

Below you will find the structure and example content of the ID tokens – [JSON Web Tokens](/verify/reference/glossary/#json-web-token-jwt) returned when signing in with each of the supported eID types.
Below you will find the structure and example content of ID tokens – [JSON Web Tokens](/verify/reference/glossary/#json-web-token-jwt) returned when signing in with each of the supported eID types.

The examples show only the user-specific fields. The actual issued JWTs also include additional technical OIDC-conformant fields used for validation and session management.

Expand All @@ -42,9 +42,9 @@ The `socialno` field is the social security number. The `uniqueUserId` identifie

The `socialno` field is the social security number.

### Vipps
### Vipps MobilePay

<NorwegianVippsJwtSnippet />
<VippsMobilepayJwtSnippet />

The `socialno` field is the social security number.

Expand Down
6 changes: 3 additions & 3 deletions src/utils/auth-methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ export const PROVIDERS: Provider[] = [
page: '/verify/e-ids/norwegian-bankid',
},
{
title: 'Norwegian Vipps',
title: 'Vipps MobilePay',
authMethods: [
{
title: 'Norwegian Vipps',
title: 'Vipps MobilePay',
acrValue: 'urn:grn:authn:no:vipps',
scopes: noVippsScopes,
},
],
page: '/verify/e-ids/norwegian-vipps',
page: '/verify/e-ids/vipps-mobilepay',
},
{
title: 'Netherlands',
Expand Down
Loading