default-scope

This command sets the default value of the scope when the scope value is not set in the request.

Syntax

default-scope scope

Parameters

scope
Sets the default value of the scope.

Guidelines

The default-scope command sets the default scope value when the client does not define any scope value in the request. To request multiple scopes, use a space between each scope value. The maximum length of the scope is 255 characters.

This command is relevant only when the OAuth role, as defined by the oauth-role command, is authorization server endpoints.

Example

Set the default scope value to getInfo.
# oauth-role azsvr
# default-scope /getInfo