Official Content

Configures the time, in minutes, that the State will remain valid when a client authenticates using OAuth 2.0 to an Identity Provider (IDP).

Syntax

&GAMRepository.TimeoutToFinishOAuthAuthenticationUsingIDP = Number_Minutes

Where:

&GAMRepository
Is a variable based on the GAMRepository data type.

Number_Minutes
Number of minutes that the State will remain valid when a client authenticates using OAuth 2.0 to an Identity Provider (IDP).

Description

This is a GAMRepository property that allows you to configure the time, in minutes, that the State will remain valid when a client authenticates using OAuth 2.0 to an Identity Provider (IDP).

By default, this property is set to 15 minutes. Its value can't be 0.

If a specific value is set for this property in the Identity Provider repository configuration, and the user does not complete the credentials in the specified time, they will be redirected to the login object with the error: GAM533 “State IDP Expired” and will have to log in again.

Note: When using the GAM Backoffice, this property can be configured by selecting Repository > Configuration > General Security Policy. It is shown with the description "Timeout to Finish OAuth Authentication (state) Using an IDP (minutes)".

Samples

To set this property in the GeneXus code (by using the GAM API), the syntax is as follows:

&GAMRepository.TimeoutToFinishOAuthAuthenticationUsingIDP = 10

Availability

This property is available since GeneXus 18 Upgrade 10.

See Also

GAM - GAMRemote Authentication Type
Client Configuration for GAM Remote Authentication
Identity Provider Configuration for GAM Remote Authentication
GAM Repository features and properties

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant