Explore alternative methods for granting Partners access to Klarna Partner Portal when the recommended Deep Link + AP Button approach cannot be implemented due to technical or business constraints.
API-based access for creating and managing semi-permanent user accounts in Klarna Partner Portal. Users receive invitation emails and set up their own passwords.
For Acquiring Partners without an admin portal or when Partners need to request access through a manual process.
Identity Provider (IdP) via SAML
Delegates authentication to your system using SAML v2.0 protocol. You become the Identity Provider, and Klarna acts as the Service Provider.
For Acquiring Partners with advanced technical capabilities to implement SAML IdP, providing seamless single sign-on experience.
These methods are alternatives to the recommended approach. They may require additional technical implementation or result in less seamless user experience. Discuss with your Klarna representative before choosing an alternative method.
On success, the endpoint responds with 201 Created and dispatches an invitation email to the specified address. If that address is already registered, no new email will be sent.
You can define the level of access granted to the user by setting the roles array in the JWT payload.
What happens next:
1.
Klarna creates a Portal user for the supplied email (sub in JWT)
2.
Klarna gives the user access to the specified account
3.
Klarna sends an invitation email containing an activation link
User access can be deleted at any time. Make a DELETE request to deleteUserAccess endpoint, with optional query parameters:
Parameter
Description
account_id
The Partner Account ID of the access to delete
on_behalf_of
When specified, only the specific access with this on_behalf_of value will be deleted
principal
The ID or email of the user to delete the access from
Warning: If no parameters are supplied, all user access created by you will be deleted.
If both account_id and principal parameters are provided, they are combined to precisely target and delete the user's access to the specified Partner account.
When user access is revoked, the user's access to the Partner account will be removed within 5 minutes.
An Identity Provider (IdP) is a system that authenticates users and authorizes their access to applications and services. In this setup, you act as the IdP and Klarna acts as the Service Provider (SP).
Initiate authentication from Klarna Partner Portal
2.
Verify authentication redirects to your IdP
3.
Complete authentication at your IdP
4.
Verify successful redirect back to Klarna Partner Portal
5.
Confirm appropriate access based on roles
The SAML IdP solution requires coordination with Klarna for configuration. If you are interested in proceeding with this option for Klarna Partner Portal access, please reach out to your Klarna representative to discuss further.