Skip to content

Commit

Permalink
Add additional examples logins to oidc results page
Browse files Browse the repository at this point in the history
Replicate what was done in #384
  • Loading branch information
genebean authored Feb 29, 2024
1 parent 286baa6 commit 2211a84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth_server/authn/data/oidc_auth_result.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
<body>
<p class="message">
You are successfully authenticated for the Docker Registry.
Use the following username and password to login into the registry:
Log into the registry using one of these commands:
</p>
<hr>
<pre class="command"><span>$ </span>docker login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
<pre class="command"><span>$ </span>podman login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
<pre class="command"><span>$ </span>nerdctl login -u {{.Username}} -p {{.Password}} {{if .RegistryUrl}}{{.RegistryUrl}}{{else}}docker.example.com{{end}}</pre>
</body>
</html>

0 comments on commit 2211a84

Please sign in to comment.