Skip to content

[Bug] Missing option "create" in Prompt classΒ #997

@giulianabaratto

Description

@giulianabaratto

Library version used

1.23.1

Java version

Java 21

Scenario

PublicClient (AcquireTokenInteractive, AcquireTokenByUsernamePassword)

Is this a new or an existing app?

New

Issue description and reproduction steps

We are using the authorization code flow to redirect the user to Entra External ID page for login.
As stated in the demo, it is possible to send the user directly to sign-up page, using prompt = create in the query parameters. However, the MSAL Java is missing the option CREATE in the Prompt Enum class, thus forcing us to create the URL manually.

Expected behavior

Expected behavior is to have Prompt.CREATE as one of the possible values, since it is present in the Microsoft demo and other libraries (such as MSAL.js).

Identity provider

Microsoft Entra External ID

Regression

No response

Solution and workarounds

Create the authorization URL manually, but Microsoft doesn't recommend this approach and states that we should use the library instead.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority items, should be done after P1SDK-ConsistencyItems that deal with consistency between all MSALsconfidential-clientFor issues related to confidential client appspublic-clientFor questions/issues related to public client apps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions