Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "googleclient"

Title:SWI-Prolog code for "Login with Google"
Rating:Not rated. Create the first rating!
Latest version:0.5.2
SHA1 sum:9f894e1c7c72e5150bcdf7cb6c3828bfa478239e
Author:Jan Wielemaker <J.Wielemaker@vu.nl>
Download URL:https://github.com/JanWielemaker/googleclient/archive/V*.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.5.1d5d6d66e0ab8d7089ad54b072c2607cf501246ef2https://github.com/JanWielemaker/googleclient/archive/V0.5.1.zip
0.5.26d64b8fb77573de9edec6bd6b412a233ac18d6ff2https://api.github.com/repos/JanWielemaker/googleclient/zipball/V0.5.2
9f894e1c7c72e5150bcdf7cb6c3828bfa478239e11https://github.com/JanWielemaker/googleclient/archive/V0.5.2.zip

SWI-Prolog code for "Login with Google"

This pack deals with "Login With Google" using OpenID Connect (OAuth 2.0 for Login). The code is partially based on pl-oauth2client-for-google

To run the code

  1. Follow these steps to create a Google project and get
  2. Edit demo/test.pl, fill in the client id and client secret. Start Prolog with demo/test.pl and run the command below to start the server.
    ?- server.
  3. Go to `http://localhost:3040` and hit the button. After logging in this should show a Prolog dict holding the Google profile information.

Requirements

Requires SWI-Prolog 7.1.30 or later (to be released, use version from GIT or nightly builds for Windows

Contents of pack "googleclient"

Pack contains 5 files holding a total of 17.1K bytes.