How the Login API works
Install AI tools
Give your assistant up-to-date guidance for our APIs, with our plugin or without it.
The plugin is still under development. See the AI tools page for details.
- Claude Code
- Cursor
- Codex
- Without installing
Run both commands, in order.
claude plugin marketplace add vippsas/agent-toolkit
claude plugin install vipps-developer@agent-toolkit
Open Settings, then Plugins.
Add vippsas/agent-toolkit as a plugin marketplace, then install the "vipps-developer" plugin.
For the app, add the marketplace "vippsas/agent-toolkit" and then install "vipps-developer". For the CLI, run the following commands.
codex plugin marketplace add vippsas/agent-toolkit
codex plugin add vipps-developer@agent-toolkit
Paste this into any assistant.
Read https://github.com/vippsas/agent-toolkit/blob/main/plugins/vipps-developer/README.md for Vipps MobilePay integration guidance.
For troubleshooting, see the full instructions.
The Login API enables users to authenticate with your service using their Vipps or MobilePay account. This section provides step-by-step visual guides showing how users experience different login flows.
Available flows​
- Login from mobile — How users authenticate when they reach your website or app from their mobile device, with automatic app-switching.
- Login from desktop — How users enter their phone number on a landing page and confirm the login on their mobile device with a challenge number.
- Merchant-initiated login — How you start a login request directly to a user's device from their phone number, for in-store and customer club scenarios.
What you'll learn​
Each guide walks through:
- The complete user journey from start to finish
- Key steps in the authentication process
- Alternative flows for returning users
- Optional features like marketing consent collection
- Email verification requirements
Choose the flow that matches your integration scenario to see detailed illustrations and explanations of the user experience.
Try it out in the demo store.