From 8b393e4a3f11171e3f7d70c8daebd301927a8c89 Mon Sep 17 00:00:00 2001 From: Nazarii Moshensyi Date: Wed, 16 Jul 2025 00:13:58 +0300 Subject: [PATCH] Add new AuthorizationRequest prompt value --- .../java/net/openid/appauth/AuthorizationRequest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/library/java/net/openid/appauth/AuthorizationRequest.java b/library/java/net/openid/appauth/AuthorizationRequest.java index 74829294..d3485118 100644 --- a/library/java/net/openid/appauth/AuthorizationRequest.java +++ b/library/java/net/openid/appauth/AuthorizationRequest.java @@ -171,6 +171,17 @@ public static final class Prompt { * " */ public static final String SELECT_ACCOUNT = "select_account"; + + /** + * A value of create indicates to the OpenID Provider that the client desires that the user + * be shown the account creation UX rather than the login flow. Care must be taken if + * combining this value with other prompt values. Mutually exclusive conditions can + * arise so it is RECOMMENDED that create not be combined with any other values. + * + * @see "Initiating User Registration via OpenID Connect 1.0 + * " + */ + public static final String CREATE = "create"; } /**