Skip to main content

render_login_page

Function render_login_page 

Source
pub fn render_login_page(
    client_name: &str,
    scopes: &str,
    redirect_host: &str,
    authorize_query: &str,
    providers: &[(String, String)],
    has_local_auth: bool,
) -> String
Expand description

Render the login page with provider selection.

providers is a list of (slug, display_name) pairs for external OIDC providers. authorize_query is the original authorize query string to pass through.