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.
Type Name Latest commit message Commit time
Failed to load latest commit information.
i18n added oauth2 example of social login Jun 30, 2018
.gitignore migrated and verified examples for v0.12.0 release Dec 2, 2018 readme update for example run Dec 2, 2018

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 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.