responseType property

String? responseType
getter/setter pair

The Response Type to request for in the OIDC Authorization Request for web sign-in.

The CODE Response Type is recommended to avoid the Implicit Flow, for security reasons.

Required. Possible string values are:

  • "RESPONSE_TYPE_UNSPECIFIED" : No Response Type specified.
  • "CODE" : The response_type=code selection uses the Authorization Code Flow for web sign-in. Requires a configured client secret.
  • "ID_TOKEN" : The response_type=id_token selection uses the Implicit Flow for web sign-in.

Implementation

core.String? responseType;