Parameterized Scope Validator

Allow scope-tokens defined by regular expressions. This can be used in PSD2 payment scenarios where user should consent to payment transaction that contains a variable part like "PAY:Guitar-900EUR".

Project Readme

Parameterized Scope Validator

This is one of the ForgeRock Community Projects. For details, see

If you are reading this on, you are viewing an old version of the project.


This code is not supported by ForgeRock and it is your responsibility to verify that the software is suitable and safe for use.


An OpenAM Sample OAuth 2.0 Scope Validator Plugin

For instructions on using this sample OAuth 2.0 scope validator plugin, see

Before building the sample scope validator plugin, update the <openam.version> property in the POM to match your OpenAM version.

See for some background on parameterized scopes.

Copyright 2013-2018 ForgeRock AS. All Rights Reserved

Use of this code requires a commercial software license with ForgeRock AS. or with one of its affiliates. All use shall be exclusively subject to such license between the licensee and ForgeRock AS.

Project Information