Switch branches/tags
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
static
views
.gitignore
README.md
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 😄.