Skip to content

Commit 40b5058

Browse files
committed
Update instructions
Signed-off-by: Phillip Rak <[email protected]>
1 parent db50fcb commit 40b5058

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

shell/assets/translations/en-us.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -506,27 +506,27 @@ authConfig:
506506
warning: The GitHub App authentication provider only works with <a href="https://docs.github.com/en/get-started/learning-about-github/types-of-github-accounts" target="_blank" rel="noopener noreferrer nofollow">GitHub Organization accounts</a>. It does not support User accounts.
507507
form:
508508
prefix:
509-
1: <li><a href="{baseUrl}/settings/organizations" target="_blank" rel="noopener noreferrer nofollow">Click here</a> to go to GitHub organization settings in a new window.</li>
510-
2: <li>To the right of the organization, click Settings.</li>
511-
3: <li>In the left sidebar, click Developer settings.</li>
512-
4: <li>In the left sidebar, click GitHub Apps.</li>
513-
5: <li>Click New Github App.</li>
509+
1: <li>Open your <a href="{baseUrl}/settings/organizations" target="_blank" rel="noopener noreferrer nofollow">GitHub organization settings</a> in a new window</li>
510+
2: <li>To the right of the organization, click "Settings"</li>
511+
3: <li>In the left sidebar, click "Developer settings" -> "GitHub Apps"</li>
512+
4: <li>Click "New Github App"</li>
514513
instruction: 'Fill in the form with these values:'
515514
app:
516515
label: GitHub App name
517516
value: 'Anything you like, e.g. My {vendor}'
518517
callback:
519518
label: Callback URL
519+
value: '{serverUrl}/verify-auth'
520520
description:
521521
label: Application description
522522
value: 'Optional, can be left blank'
523523
homepage:
524524
label: Homepage URL
525+
create: Click "Create Github App"
525526
suffix:
526-
1: <li>Click "Create Github App"</li>
527-
2: <li>Click "Generate a new client secret"</li>
528-
3: <li>Click "Generate a private key"</li>
529-
4: <li>Copy and paste the App ID, Client ID, Client Secret, and Private Key of your newly created OAuth app into the fields below</li>
527+
1: <li>Under Client Secrets, click "Generate a new client secret"</li>
528+
2: <li>Under Private Keys, click "Generate a private key"</li>
529+
3: <li>Copy and paste the "App ID", "Client ID", "Client Secret", and "Private Key" of your newly created OAuth app into the fields below</li>
530530
host:
531531
label: GitHub Enterprise Host
532532
placeholder: e.g. github.mycompany.example

shell/edit/auth/github-app-steps.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ defineProps<{
2626
<li v-clean-html="t(`authConfig.${name}.form.prefix.2`, tArgs, true)" />
2727
<li v-clean-html="t(`authConfig.${name}.form.prefix.3`, tArgs, true)" />
2828
<li v-clean-html="t(`authConfig.${name}.form.prefix.4`, tArgs, true)" />
29-
<li v-clean-html="t(`authConfig.${name}.form.prefix.5`, tArgs, true)" />
3029
</ul>
3130
</InfoBox>
3231
<InfoBox
@@ -64,7 +63,7 @@ defineProps<{
6463
<b>
6564
{{ t(`authConfig.${name}.form.callback.label`) }}
6665
</b>:
67-
{{ tArgs.serverUrl }}
66+
{{ t(`authConfig.${name}.form.callback.value`, tArgs, true) }}
6867
<CopyToClipboard
6968
:text="tArgs.serverUrl"
7069
label-as="tooltip"
@@ -74,6 +73,9 @@ defineProps<{
7473
</li>
7574
</ul>
7675
</li>
76+
<li>
77+
{{ t(`authConfig.${name}.form.create`, tArgs, true) }}
78+
</li>
7779
</ul>
7880
</InfoBox>
7981
<InfoBox
@@ -84,7 +86,6 @@ defineProps<{
8486
<li v-clean-html="t(`authConfig.${name}.form.suffix.1`, tArgs, true)" />
8587
<li v-clean-html="t(`authConfig.${name}.form.suffix.2`, tArgs, true)" />
8688
<li v-clean-html="t(`authConfig.${name}.form.suffix.3`, tArgs, true)" />
87-
<li v-clean-html="t(`authConfig.${name}.form.suffix.4`, tArgs, true)" />
8889
</ul>
8990
</InfoBox>
9091
</template>

0 commit comments

Comments
 (0)