This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:authentication:google_oauth2callback [2013/04/05 19:13] svanderclock [Parameters] |
en:public:developer:template_system:tags:authentication:google_oauth2callback [2013/04/06 00:22] (current) svanderclock [Parameters] |
||
---|---|---|---|
Line 10: | Line 10: | ||
^ Name ^ Mandatory ^ Default ^ Description ^ | ^ Name ^ Mandatory ^ Default ^ Description ^ | ||
| <html><span style="color:#008000">template</span></html> | No | | Used to build the content of the result | | | <html><span style="color:#008000">template</span></html> | No | | Used to build the content of the result | | ||
- | | <html><span style="color:#008000">client_id</span></html> | No | | The client_id obtained during application registration (https://code.google.com/apis/console/) | | + | | <html><span style="color:#008000">client_id</span></html> | Yes | | The client_id obtained during application registration (https://code.google.com/apis/console/) | |
- | | <html><span style="color:#008000">client_secret</span></html> | No | | The client secret obtained during application registration (https://code.google.com/apis/console/) | | + | | <html><span style="color:#008000">client_secret</span></html> | Yes | | The client secret obtained during application registration (https://code.google.com/apis/console/) | |
| <html><span style="color:#008000">redirect_uri</span></html> | No | /authentication/google_oauth2callback/ | The URI registered with the application | | | <html><span style="color:#008000">redirect_uri</span></html> | No | /authentication/google_oauth2callback/ | The URI registered with the application | | ||
Line 18: | Line 18: | ||
<code html> | <code html> | ||
- | <#{google_oauth2callback> | + | <#{google_oauth2callback client_id="..." client_secret="..." redirect_uri="..."> |
<#{template> | <#{template> | ||
<script type="text/javascript"> | <script type="text/javascript"> |