diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-06 23:26:11 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-06 23:26:11 +0000 |
commit | f75296a86350e41c01a355c945ca348082260cf9 (patch) | |
tree | 7635ae4a46ab4904609c7b662acc04a3c0f6efa8 /sca-cpp/trunk/modules/oauth/htdocs/login/index.html | |
parent | cc3bc602c8cb2c10aa542eab1e480d8604760007 (diff) |
Enable OAuth and OpenID to be used together in the same app. Add a few OpenID providers to test login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/oauth/htdocs/login/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sca-cpp/trunk/modules/oauth/htdocs/login/index.html b/sca-cpp/trunk/modules/oauth/htdocs/login/index.html index fcf5a870c0..a8ed099fae 100644 --- a/sca-cpp/trunk/modules/oauth/htdocs/login/index.html +++ b/sca-cpp/trunk/modules/oauth/htdocs/login/index.html @@ -32,7 +32,7 @@ function queryParams() { } function oauthReferrer() { - r = queryParams()['mod_oauth_referrer']; + r = queryParams()['openauth_referrer']; if (typeof(r) == 'undefined') return r; q = r.indexOf('?'); @@ -67,10 +67,10 @@ function withGithub() { </script> <form name="signin" action="/" method="GET"> -<input type="hidden" name="mod_oauth_authorize" value="https://graph.facebook.com/oauth/authorize"/> -<input type="hidden" name="mod_oauth_access_token" value="https://graph.facebook.com/oauth/access_token"/> -<input type="hidden" name="mod_oauth_client_id" value="app1234"/> -<input type="hidden" name="mod_oauth_info" value="https://graph.facebook.com/me"/> +<input type="hidden" name="mod_oauth_authorize" value=""/> +<input type="hidden" name="mod_oauth_access_token" value=""/> +<input type="hidden" name="mod_oauth_client_id" value=""/> +<input type="hidden" name="mod_oauth_info" value=""/> <input type="hidden" name="mod_oauth_step" value="authorize"/> </form> |