Skip to content

Commit 3398be1

Browse files
Merge pull request #138 from damien-carcel/fix-token-creation
Fix OAuth client ID and secret generation by CLI
2 parents cd95c16 + 6b0c8fc commit 3398be1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/getting-started-admin.handlebars

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div class="panel panel-picto panel-default panel-getting-started">
1010
<img src="img/illustrations/illus--lock.svg"/>
1111
<div class="panel-body">
12-
<h2 class="picto">Prerequisites</h2>
12+
<h2 class="picto">Prerequisites</h2>
1313
<h4><i class="fa fa-check-square"></i> An Akeneo PIM is already installed</h4>
1414
<p>This can seems pretty obvious. But yeah ! You will need a PIM already installed if you want to manage any access to this PIM.</p><br>
1515
<h4><i class="fa fa-check-square"></i> You are the administrator of the Akeneo PIM</h4>
@@ -82,6 +82,13 @@
8282
</div>
8383
<h3>With a command line</h3>
8484
<p>Alternatively, you can create the client id and secret with a single command line directly on the PIM server.</p>
85+
<h4>With the 2.0 version</h4>
86+
<pre class="hljs"><code>php bin/console pim:oauth-server:create-client \
87+
--grant_type=<span class="hljs-string">"password"</span> \
88+
--grant_type=<span class="hljs-string">"refresh_token"</span> \
89+
--env=prod</code>
90+
</pre>
91+
<h4>With the 1.7 version</h4>
8592
<pre class="hljs"><code>php app/console pim:oauth-server:create-client \
8693
--grant_type=<span class="hljs-string">"password"</span> \
8794
--grant_type=<span class="hljs-string">"refresh_token"</span> \

0 commit comments

Comments
 (0)