2026-07-20 New feature: configure maximum openid logins

The new feature

A new feature has been introduced in the Soffid Identity Provider that limits the number of requests a user can make to an OpenID Connect service provider. The new attribute is name "Max login per user and minute".

A new issue "issue-login-limit" has also been created to manage this new configuration.

Bear in mind

Please note the following points:

About the platform:

For more information you can check the OpenIdProfile page, or the Defining profiles page

About the issue:

For more information you can check the Issue policies page

How to configure it?

The following components must be installed:

Let's look at an example

Step 1: configure the limit

Let’s go to our Soffid identity provider.

Go to Main Menu > Configuration > Web SSO > Identity providers.

Select your Soffid IDP.

And go the Profiles group and select the OpenIdProfile.

image.png

To activate the attribute "Max login per user and minute" add a number, por example 30, 60, etc.

image.png

To validate this functionality, we need to authenticate as a service provider.

First, let’s check that the service provider has configured the authentication types that the limit validates.

image.png

We’re going to test it using a testing tool; we can see that it responds correctly when the limit is not reached.

image.png

But when it reaches its limit, it returns a HTTP code 400 with the message "Login limit reached".

image.png

400 Bad Request
{
  "error_description": "com.soffid.iam.exception.InternalErrorException: Login limit reached",
  "error": "server_error"
}

Step 2: configure the issue

First, we need to open the new issue.

Main Menu > Configuration > Security settings > Issue policies.

Select the user-login-limit.

image.png

To activate the issue, we will need to assign an action type (Record or Manage).

image.png

Now create one or more actions using the "Add new" button; in our case, a personalised email will be sent.

image.png

On leaving, we can see that the issue has been Managed.

image.png

If we push the limit, a new issue will now also be created in Soffid.

Main Menu > Monitoring and reporting > Issues (or Main Menu > Self-Service portal > My issues)

image.png

And here is an example of the email that was sent

image.png


Revision #6
Created 20 July 2026 16:52:30 by Sion Vives
Updated 7 August 2026 09:45:30 by Sion Vives