← Back to plugin index

Scope Processor

Description
Processes the "scope" metadata attribute. The value from the request is interpreted as a space-separated list of scopes. All scopes that match against at least one of the allowed scope patterns are accepted, the others are ignored.
Type name
ScopeProcessor
Class
com.airlock.iam.techclientreg.application.configuration.registration.ScopeProcessorConfig
May be used by
License-Tags
TechClientRegistration
Properties
Allowed Scopes (allowedScopes)
Description
A list of regular expressions that define the allowed scopes. Requested scopes not matching any of these patterns are ignored.

The default value makes sure the scopes do not include characters outside the set %x20-21 / %x23-5B / %x5D-7E (NQCHAR). For more information see RFC 6749.

Attributes
RegEx-List
Optional
Default value
[[\x21\x23-\x5B\x5D-\x7E]+]
YAML Template (with default values)

type: ScopeProcessor
id: ScopeProcessor-xxxxxx
displayName: 
comment: 
properties:
  allowedScopes: [[\x21\x23-\x5B\x5D-\x7E]+]