netscaler.adc.authenticationoauthaction module – Configuration for OAuth authentication action resource.
Note
This module is part of the netscaler.adc collection (version 2.6.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install netscaler.adc
.
To use it in a playbook, specify: netscaler.adc.authenticationoauthaction
.
New in netscaler.adc 2.0.0
Synopsis
Configuration for OAuth authentication action resource.
Parameters
Parameter |
Comments |
---|---|
Multivalued option to specify allowed token verification algorithms. Choices:
|
|
Base NITRO API path. Define only in case of an ADM service proxy call Default: |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute1 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute10 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute11 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute12 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute13 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute14 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute15 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute16 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute2 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute3 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute4 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute5 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute6 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute7 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute8 |
|
Name of the attribute to be extracted from OAuth Token and to be stored in the attribute9 |
|
List of attribute names separated by ‘,’ which needs to be extracted. Note that preceding and trailing spaces will be removed. Attribute name can be 127 bytes and total length of this string should not cross 1023 bytes. These attributes have multi-value support separated by ‘,’ and stored as key-value pair in AAA session |
|
Audience for which token sent by Authorization server is applicable. This is typically entity name or url that represents the recipient |
|
If authentication is disabled, password is not sent in the request. Choices:
|
|
Authorization endpoint/url to which unauthenticated user will be redirected. Citrix ADC redirects user to this endpoint by adding query parameters including clientid. If this parameter not specified then as default value we take Token Endpoint/URL value. Please note that Authorization Endpoint or Token Endpoint is mandatory for oauthAction |
|
URL of the endpoint that contains JWKs (Json Web Key) for JWT (Json Web Token) verification. |
|
Path to the file that contains JWKs (Json Web Key) for JWT (Json Web Token) verification. |
|
Unique identity of the client/user who is getting authenticated. Authorization server infers client configuration using this ID |
|
Secret string established by user and authorization server |
|
This is the default group that is chosen when the authentication succeeds in addition to extracted groups. |
|
Grant type support. value can be code or password Choices:
|
|
URL of the Graph API service to learn Enterprise Mobility Services (EMS) endpoints. |
|
URL to which obtained idtoken will be posted to get a decrypted user identity. Encrypted idtoken will be obtained by posting OAuth token to token endpoint. In order to decrypt idtoken, Citrix ADC posts request to the URL configured |
|
URL to which access token would be posted for validation |
|
Identity of the server whose tokens are to be accepted. |
|
The ID of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The IP of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The name of the managed NetScaler instance to which NetScaler Console has to configure as a proxy server. Define only in case of an ADM service proxy call |
|
The password of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
The username of the managed NetScaler instance. Define only in case of an ADM service proxy call In Settings > Administration > System Configurations > Basic Settings, if you select Prompt Credentials for Instance Login, ensure to configure username and password of a managed instance. |
|
Well-known configuration endpoint of the Authorization Server. Citrix ADC fetches server details from this endpoint. |
|
Name for the OAuth Authentication action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the profile is created. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my authentication action” or ‘my authentication action’). |
|
The IP address of the NetScaler ADC appliance acting as a proxy server. Define only in case of an ADM service proxy call Choices:
|
|
The authentication token provided by a login operation. |
|
The password with which to authenticate to the NetScaler ADC node. |
|
Which protocol to use when accessing the nitro API objects. Choices:
|
|
The username with which to authenticate to the NetScaler ADC node. |
|
The ip address of the NetScaler ADC appliance where the nitro API calls will be made. The port can be specified with the colon (:). E.g. 192.168.1.1:555. |
|
Type of the OAuth implementation. Default value is generic implementation that is applicable for most deployments. Choices:
|
|
Option to enable/disable PKCE flow during authentication. Choices:
|
|
Interval at which services are monitored for necessary configuration. |
|
Resource URL for Oauth configuration. |
|
If The module will not save the configuration on the NetScaler ADC node if it made no changes. Choices:
|
|
This option specifies the allowed clock skew in number of minutes that Citrix ADC allows on an incoming token. For example, if skewTime is 10, then token would be valid from (current time - 10) min to (current time + 10) min, ie 20min in all. |
|
The state of the resource being configured by the module on the NetScaler ADC node. When When When Choices:
|
|
TenantID of the application. This is usually specific to providers such as Microsoft and usually refers to the deployment identifier. |
|
URL to which OAuth token will be posted to verify its authenticity. User obtains this token from Authorization server upon successful authentication. Citrix ADC will validate presented token by posting it to the URL configured |
|
Option to select the variant of token authentication method. This method is used while exchanging code with IdP. Choices:
|
|
URL to which OAuth access token will be posted to obtain user information. |
|
Attribute in the token from which username should be extracted. |
|
If Choices:
|
Notes
Note
For more information on using Ansible to manage NetScaler ADC Network devices see https://www.ansible.com/integrations/networks/citrixadc.
Examples
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Indicates if any change is made by the module Returned: always Sample: |
|
Dictionary of before and after changes Returned: always Sample: |
|
List of differences between the actual configured object and the configuration specified in the module Returned: when changed Sample: |
|
Indicates if the module failed or not Returned: always Sample: |
|
list of logged messages by the module Returned: always Sample: |