Skip to content

How to use CoreResponseMode? #206

@maxammann

Description

@maxammann

Implementing an OIDC flow right now. Is there a better way to set response mode than:

        let (authorize_url, csrf_state, nonce) = self
            .client
            .authorize_url(
                AuthenticationFlow::<CoreResponseType>::AuthorizationCode,
                CsrfToken::new_random,
                Nonce::new_random,
            )
            .add_extra_param("response_mode", CoreResponseMode::FormPost.as_ref())
            .url();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions