Commit f0ce8e6a authored by Luca Leonardo Scorcia's avatar Luca Leonardo Scorcia

Fix doc linting and cut-and-paste build failure

parent d5964d8b
...@@ -36,7 +36,7 @@ module AuthHelper ...@@ -36,7 +36,7 @@ module AuthHelper
end end
def icon_for_provider(name) def icon_for_provider(name)
Gitlab::OAuth::Provider.icon_for(name) Gitlab::Auth::OAuth::Provider.icon_for(name)
end end
def form_based_provider_priority def form_based_provider_priority
......
...@@ -84,7 +84,7 @@ The OpenID Connect will provide you with a client details and secret for you to ...@@ -84,7 +84,7 @@ The OpenID Connect will provide you with a client details and secret for you to
1. For the configuration above, change the values for the provider to match your OpenID Connect client setup. Use the following as a guide: 1. For the configuration above, change the values for the provider to match your OpenID Connect client setup. Use the following as a guide:
- `<your_oidc_label>` is the label that will be displayed on the login page. - `<your_oidc_label>` is the label that will be displayed on the login page.
- `<url_to_custom_provider_icon>` (optional) is the icon that will be displayed on the login page. Icons for the major social login platforms are built-in into Gitlab, - `<url_to_custom_provider_icon>` (optional) is the icon that will be displayed on the login page. Icons for the major social login platforms are built-in into GitLab,
but can be overridden by specifying this parameter. but can be overridden by specifying this parameter.
- `<your_oidc_url>` (optional) is the URL that points to the OpenID Connect provider. For example, `https://example.com/auth/realms/your-realm`. - `<your_oidc_url>` (optional) is the URL that points to the OpenID Connect provider. For example, `https://example.com/auth/realms/your-realm`.
If this value is not provided, the URL is constructed from the `client_options` in the following format: `<client_options.scheme>://<client_options.host>:<client_options.port>`. If this value is not provided, the URL is constructed from the `client_options` in the following format: `<client_options.scheme>://<client_options.host>:<client_options.port>`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment