KEYCLOAK-228 Updated instructions to add Google
This commit is contained in:
parent
7daa6f492e
commit
f63872b8b0
1 changed files with 15 additions and 16 deletions
|
@ -1,36 +1,35 @@
|
|||
<p>
|
||||
Open <a href="https://code.google.com/apis/console/" target="_blank">https://code.google.com/apis/console/</a>. From
|
||||
the
|
||||
drop-down menu select <i>Create</i>.
|
||||
Open <a href="https://cloud.google.com/console/project" target="_blank">https://cloud.google.com/console/project</a>.
|
||||
Click <i>Create Project</i>.
|
||||
</p>
|
||||
|
||||
<p>Use any name that you'd like, click <i>Create Project</i>, select <i>API Access</i> and click on <i>Create an OAuth
|
||||
2.0 client ID</i>.</p>
|
||||
<p>Use any project name and id that you'd want and click <i>Create</i>. Wait for the project to be created.</p>
|
||||
|
||||
<p>Use any product name you'd like and leave the other fields empty, then click <i>Next</i>. On the next page select <i>Web
|
||||
application</i>
|
||||
as the application type. Click <i>more options</i> next to <i>Your site or hostname</i>. Fill in the form with the
|
||||
following values:</p>
|
||||
<p>Click <i>APIs & auth</i>, under <i>APIs</i> make sure <i>Google+ API</i> is <i>ON</i>.
|
||||
|
||||
<ul>
|
||||
<li><b>Authorized Redirect URIs:</b> {{callbackUrl}}</li>
|
||||
</ul>
|
||||
<p>Click <i>Credentials</i> and click on <i>Create New Client ID</i>. Select <i>Web application</i> as <i>Application
|
||||
type</i>. <i>Authorized Javascript origins</i> should be empty. Add <i>{{callbackUrl}}</i> to <i>Authorized redirect
|
||||
URI</i>. Click <i>Create Client ID</i></p>.
|
||||
|
||||
<p>Click on <i>Create client ID</i>. Insert <i>Client ID</i> and <i>Client secret</i> in the form below.</p>
|
||||
<p>Insert <i>Client ID</i> and <i>Client secret</i> in the form below.</p>
|
||||
|
||||
<form class="form-horizontal" name="googleHelpForm">
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="providerHelp.key">Client ID </label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge" id="providerHelp.key" ng-model="realm.socialProviders[helpPId+'.key']">
|
||||
<input type="text" class="input-xlarge" id="providerHelp.key"
|
||||
ng-model="realm.socialProviders[helpPId+'.key']">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="providerHelp.secret">Client secret </label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" class="input-xlarge" id="providerHelp.secret" ng-model="realm.socialProviders[helpPId+'.secret']">
|
||||
<input type="text" class="input-xlarge" id="providerHelp.secret"
|
||||
ng-model="realm.socialProviders[helpPId+'.secret']">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<p>Close the help panel and click <i>save changes</i>.</p>
|
||||
<p>Close the help panel and click <i>save changes</i>.</p>
|
Loading…
Reference in a new issue