Skip to content
Branch: master
Find file History
Pull request Compare This branch is 1 commit behind v0.12.x.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
config
i18n added oauth2 example of social login Jun 30, 2018
static
views
.gitignore migrated and verified examples for v0.12.0 release Dec 2, 2018
README.md readme update for example run Dec 2, 2018
aah.project
go.mod

README.md

Example - OAuth2 Social Login

This example demonstrates OAuth2 3-legged Flow implementation with aah framework. It does social login with Facebook, Google and Github.

Learn more about OAuth2 Auth scheme

Get aah examples

git clone https://github.com/go-aah/examples.git aah-examples

Run this example

Step 1:

First, configure the OAuth2 provider(s) Client ID and Secret in the security.conf. Initially, to try with one provider, simply configure that one alone.

Step 2:

cd aah-examples/oauth2-social-login
aah run

Visit this URL

In application home page, click on the provider icon 😄.

You can’t perform that action at this time.