Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove conditionals. #1751

Merged
merged 4 commits into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ asciidoc:
link-postgres-dockerfile-location: https://github.com/eclipse/che/tree/master/dockerfiles/postgres
link-server-identity-provider-dockerfile-location: https://github.com/eclipse/che/tree/master/dockerfiles/keycloak
link-viewing-the-state-of-the-cluster-deployment-using-openshift-4-cli-tools: xref:overview:installing-che-on-openshift-4-using-operatorhub.adoc[]
link-enabling-login-with-github: {identity-provider-docs-url}{identity-provider-version}/server_admin/#github
link-identity-provider-saml: {identity-provider-docs-url}{identity-provider-version}/server_admin/#saml-v2-0-identity-providers
themr0c marked this conversation as resolved.
Show resolved Hide resolved
link-identity-provider-oidc: link:{identity-provider-docs-url}{identity-provider-version}/server_admin/#_oidc
themr0c marked this conversation as resolved.
Show resolved Hide resolved
namespace: namespace # In context: API namespace
nodejs-stack: nodejs
oc4-ver: 4.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@
= Enabling authentication with social accounts and brokering

{identity-provider} provides built-in support for GitHub, OpenShift, and most common social networks such as Facebook and Twitter.
ifeval::["{project-context}" == "che"]
See Instructions to link:{identity-provider-docs-url}{identity-provider-version}/server_admin/#github[enable Login with GitHub].
endif::[]

ifeval::["{project-context}" != "che"]
See Instructions to link:{identity-provider-docs-url}{identity-provider-version}/html-single/server_administration_guide/index#github[enable Login with GitHub].
endif::[]

See {identity-provider} documentation to learn how to link:{link-enabling-login-with-github}[enable Login with GitHub].

You can also enable the SSH key and upload it to the {prod-short} users’ GitHub accounts.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@
[id="using-protocol-based-providers_{context}"]
= Using protocol-based providers

ifeval::["{project-context}" == "che"]
{identity-provider} supports link:{identity-provider-docs-url}{identity-provider-version}/server_admin/#saml-v2-0-identity-providers[SAML v2.0] and link:{identity-provider-docs-url}{identity-provider-version}/server_admin/#_oidc[OpenID Connect v1.0] protocols. You can connect your identity provider systems if they support these protocols.
endif::[]

ifeval::["{project-context}" != "che"]
{identity-provider} supports link:{identity-provider-docs-url}{identity-provider-version}/html-single/server_administration_guide/index#saml_v2_0_identity_providers[SAML v2.0] and link:{identity-provider-docs-url}{identity-provider-version}/html-single/server_administration_guide/index#identity_broker_oidc[OpenID Connect v1.0] protocols. You can connect your identity provider systems if they support these protocols.
endif::[]
{identity-provider} supports link:{link-identity-provider-saml}[SAML v2.0] and link:link-identity-provider-oidc[OpenID Connect v1.0] protocols. You can connect your identity provider systems if they support these protocols.
themr0c marked this conversation as resolved.
Show resolved Hide resolved