From 2663d0ff13274124f0d3c2c4e25490e24c68cba6 Mon Sep 17 00:00:00 2001
From: mffap
Prompt defines if and how the user
- should be prompted on login. For example you can pre-select a login name (
- select_account) or present the register form (create
- ) to users directly. The value login requires the user to
- re-authenticate.
+ should be prompted on login. For example:
+
+
select_account: user is prompted to select one of the existing sessions or create a new onecreate: present the register formlogin: requires the user to re-authenticatenone: user must be authenticated without interaction, an error is returned otherwise; use for silent-refresh
diff --git a/docs/src/components/authrequest.jsx b/docs/src/components/authrequest.jsx index 871be22fb..833453aa7 100644 --- a/docs/src/components/authrequest.jsx +++ b/docs/src/components/authrequest.jsx @@ -36,7 +36,7 @@ export function SetAuthRequest() { const allResponseTypes = ["code", "id_token", "id_token token"]; - const allPrompts = ["", "login", "select_account", "create"]; + const allPrompts = ["", "login", "select_account", "create", "none"]; const allAuthMethods = ["(none) PKCE", "Client Secret Basic"];