Configures the time, in minutes, that the State will remain valid when a client authenticates using OAuth 2.0 to an Identity Provider (IDP).
&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).
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)".
To set this property in the GeneXus code (by using the GAM API), the syntax is as follows:
&GAMRepository.TimeoutToFinishOAuthAuthenticationUsingIDP = 10
This property is available since GeneXus 18 Upgrade 10.
GAM - GAMRemote Authentication Type
Client Configuration for GAM Remote Authentication
Identity Provider Configuration for GAM Remote Authentication
GAM Repository features and properties