authFailAction property

String? authFailAction
getter/setter pair

Action to take when users access resources that require authentication.

Defaults to redirect. Possible string values are:

  • "AUTH_FAIL_ACTION_UNSPECIFIED" : Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.
  • "AUTH_FAIL_ACTION_REDIRECT" : Redirects user to "accounts.google.com". The user is redirected back to the application URL after signing in or creating an account.
  • "AUTH_FAIL_ACTION_UNAUTHORIZED" : Rejects request with a 401 HTTP status code and an error message.

Implementation

core.String? authFailAction;