Skip to content

[Feature Request] Add authParams to public app CreateAuthCodeURL #300

@ezioruan

Description

@ezioruan

Is your feature request related to a problem? Please describe.
currently, when using CreateAuthCodeURL from the public app to create an auth URL , it doesn't allow us to pass extra URL values, so we have to do that after we get the URL which is not Convenience and safe

authURL, err := app.CreateAuthCodeURL(c.Request.Context(), azureConfig.ClientID, azureConfig.RedirectURI, Scopes)
authURL += `&prompt=select_account`

Describe the solution you'd like
Add extra args to called authParams at CreateAuthCodeURL, just the same args as AuthCodeURL

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions