Commit a019018c authored by Sven Franck's avatar Sven Franck

added API template for oauth client-side-flow (hellojs)

parent e4abbfb0
"login_dict": {
"application_dict": {},
"third_party": {
"provider": "hellojs",
"initializer_dict": {
"google" : "1028374738607-pg2qqcopjpoc09shlpul3mehu2dv76ln.apps.googleusercontent.com"
},
"verification_dict": {
"google": "https://www.googleapis.com/oauth2/v1/tokeninfo?access_token="
},
"signout_dict": {
"google": "https://accounts.google.com/Logout?continue=REDIRECT_URL",
"facebook": "https://www.facebook.com/logout.php?next=REDIRECT_URL&access_token=ACCESS_TOKEN"
},
"modernizr": ["localStorage"],
"redirect": {"redirect_uri":"http://localhost/sven/slapos-ui/index.html"}
}
},
Don't forget button...
{"type":"a", "direct": {"href": "#global-popup", "className":"responsive action"}, "attributes": {"data-depend":"login_state", "data-rel":"popup", "data-action":"login", "data-icon":"user", "data-i18n":"global_dict.common_dict.login"}, "logic": {"text":"Login"}}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment