Skip to main content

native_get_route

Function native_get_route 

Source
pub(crate) async fn native_get_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    request: Request,
) -> Response
Expand description

Renders the native login or registration page for a pending authorization, device, or account flow.

A provider chosen on that page arrives here as idp_id, and the route redirects to it instead. When the request is already bound to a provider, the page offers only that provider.