Skip to main content
Version: 4.2

OAuthPrompt

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.2.0.0)

The prompt behaviour requested from the identity provider, mapped per provider.

4.2.0+
public enum OAuthPrompt

Fields​

NameDescriptionValue
Consentprompt=consent. Sent to Google, Entra and OAuth2. Ignored by GitHub; not sent to GitLab.
DefaultNo prompt parameter is sent. Google still receives prompt=consent when OfflineAccess is true, so that a refresh token is issued.
Loginprompt=login. Sent to Entra and OAuth2. Google has no "login" value and receives select_account instead. Ignored by GitHub; not sent to GitLab.
Noneprompt=none — silent authentication. Sent to Google, Entra and OAuth2. Ignored by GitHub; not sent to GitLab.
SelectAccountprompt=select_account. Sent to Google, GitHub, Entra and OAuth2 — the only value GitHub honours — and not sent to GitLab. Entra rejects login_hint together with select_account, so LoginHint is dropped for Entra in this mode.

Used By​

NameDescription
OAuthSignInEventArgs.PromptReturns or sets the prompt behaviour for this attempt.
OAuthAuthorizationRequest.PromptReturns the prompt behaviour of this attempt.
OAuthClient.PromptReturns or sets the requested provider interaction.