Added OAuth2 GMAIL loggin/logout support.
Added OAuth2 Gmail filter.
LoginModule
Updated LoginModule with OAuth2 Gmail support.
Persitence
Extended user persitance api with OAuth2 gmail features.
(TODO refactor persistance as an user extention)
8 lines
249 B
JSON
8 lines
249 B
JSON
{
|
|
"api_secret":"ADD_YOUR_SECRET_KEY",
|
|
"api_key":"ADD_YOUR_PUBLIC_KEY",
|
|
"scope": "email",
|
|
"api_revoke":"https://accounts.google.com/o/oauth2/revoke?token=$ACCESS_TOKEN",
|
|
"protected_resource_url":"https://www.googleapis.com/plus/v1/people/me"
|
|
}
|