Function iqps_backend::routing::handlers::oauth

source ยท
pub async fn oauth(
    __arg0: State<RouterState>,
    __arg1: Json<OAuthReq>,
) -> Result<(StatusCode, BackendResponse<OAuthRes>), AppError>
Expand description

Takes a Github OAuth code and returns a JWT auth token to log in a user if authorized

Request format - OAuthReq