Merge pull request #2871 from coreos-inc/joseph.schorr/QS-13/oidc-callback-links

Add documentation in the QE setup tool to show OIDC callback URLs
This commit is contained in:
josephschorr 2017-09-28 15:18:52 -04:00 committed by GitHub
commit 5613582695

View file

@ -107,7 +107,7 @@
<span class="config-file-field" filename="ssl.cert" has-file="hasfile.SSLCert"></span> <span class="config-file-field" filename="ssl.cert" has-file="hasfile.SSLCert"></span>
<div class="help-text"> <div class="help-text">
The certificate must be in PEM format. The certificate must be in PEM format.
</div </div>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -1155,8 +1155,15 @@
</td> </td>
</tr> </tr>
</table> </table>
<div>
</div> <h4>Callback URLs for this service:</h4>
<ul>
<li><code>{{ mapped.TLS_SETTING == 'none' ? 'http' : 'https' }}://{{ config.SERVER_HOSTNAME || '(configure server hostname)' }}/oauth2/{{ getOIDCProviderId(provider).toLowerCase() }}/callback</code></li>
<li><code>{{ mapped.TLS_SETTING == 'none' ? 'http' : 'https' }}://{{ config.SERVER_HOSTNAME || '(configure server hostname)' }}/oauth2/{{ getOIDCProviderId(provider).toLowerCase() }}/callback/attach</code></li>
<li><code>{{ mapped.TLS_SETTING == 'none' ? 'http' : 'https' }}://{{ config.SERVER_HOSTNAME || '(configure server hostname)' }}/oauth2/{{ getOIDCProviderId(provider).toLowerCase() }}/callback/cli</code></li>
</ul>
</div>
</div>
</div> </div>
<!-- Add Provider --> <!-- Add Provider -->