Function got_ya_id::apps::user::views::google_auth[][src]

pub fn google_auth(
    _req: HttpRequest,
    data: Data<Arc<Mutex<OClient>>>
) -> HttpResponse

Oauth authentication

Authenticates user using google-auth. This endpoint returns an authentication url which calls the callback endpoint /auth/callback on success

url

/auth/google

method

GET