Merge pull request #47 from pedroigor/master
Dynamic version for external KC doc links
This commit is contained in:
commit
2c4f975eed
4 changed files with 9 additions and 7 deletions
|
@ -17,8 +17,8 @@
|
||||||
"name": "Red Hat Single Sign-On",
|
"name": "Red Hat Single Sign-On",
|
||||||
"version": "7.0.0",
|
"version": "7.0.0",
|
||||||
"module": "Authorization Services",
|
"module": "Authorization Services",
|
||||||
"doc-base-url": "https://access.redhat.com/documentation/en/red-hat-single-sign-on/",
|
"doc_base_url": "https://access.redhat.com/documentation/en/red-hat-single-sign-on/",
|
||||||
"doc-info-version-url": "7.0-Beta"
|
"doc_info_version-url": "7.0-Beta"
|
||||||
},
|
},
|
||||||
"external_link": {
|
"external_link": {
|
||||||
"keycloakjsadapter": {
|
"keycloakjsadapter": {
|
||||||
|
|
|
@ -16,16 +16,18 @@
|
||||||
"project": {
|
"project": {
|
||||||
"name": "Keycloak",
|
"name": "Keycloak",
|
||||||
"version": "SNAPSHOT",
|
"version": "SNAPSHOT",
|
||||||
"module": "Authorization Services"
|
"module": "Authorization Services",
|
||||||
|
"doc_base_url": "https://keycloak.gitbooks.io/",
|
||||||
|
"doc_info_version_url": ""
|
||||||
},
|
},
|
||||||
"external_link": {
|
"external_link": {
|
||||||
"keycloakjsadapter": {
|
"keycloakjsadapter": {
|
||||||
"name": "JavaScript OpenID Connect Adapter",
|
"name": "JavaScript OpenID Connect Adapter",
|
||||||
"link": "https://keycloak.gitbooks.io/securing-client-applications-guide/content/topics/oidc/javascript-adapter.html"
|
"link": "/securing-client-applications-guide/content/topics/oidc/javascript-adapter.html"
|
||||||
},
|
},
|
||||||
"keycloakgettingstarted": {
|
"keycloakgettingstarted": {
|
||||||
"name": "Getting Started",
|
"name": "Getting Started",
|
||||||
"link": "https://keycloak.gitbooks.io/getting-started-tutorials/content/"
|
"link": "/getting-started-tutorials/content/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
==== JavaScript Integration
|
==== JavaScript Integration
|
||||||
|
|
||||||
The {{book.project.name}} Server comes with a JavaScript library you can use to interact with a resource server protected by a policy enforcer.
|
The {{book.project.name}} Server comes with a JavaScript library you can use to interact with a resource server protected by a policy enforcer.
|
||||||
This library is based on the link:{{book.project.doc-base-url}}{{book.project.doc-info-version-url}}{{book.external_link.keycloakjsadapter.link}}[{{book.project.name}} {{book.external_link.keycloakjsadapter.name}}], which can be integrated to allow your client to obtain permissions from a {{book.project.name}} Server.
|
This library is based on the link:{{book.project.doc_base_url}}{{book.project.doc_info_version_url}}{{book.external_link.keycloakjsadapter.link}}[{{book.project.name}} {{book.external_link.keycloakjsadapter.name}}], which can be integrated to allow your client to obtain permissions from a {{book.project.name}} Server.
|
||||||
|
|
||||||
You can obtain this library from a running a {{book.project.name}} Server instance by including the following `script` tag in your web page:
|
You can obtain this library from a running a {{book.project.name}} Server instance by including the following `script` tag in your web page:
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ To unpack this file run the _unzip_ or _gunzip_ and _tar_ utilities. Throughout
|
||||||
the demo distribution is referenced as *${KEYCLOAK_DEMO_SERVER_DIR}*.
|
the demo distribution is referenced as *${KEYCLOAK_DEMO_SERVER_DIR}*.
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
This guide assumes that you are already familiar with {{book.project.name}} and that you are able to install and boot a {{book.project.name}} Server. For more information, see the link:{{book.project.doc-base-url}}{{book.project.doc-info-version-url}}{{book.external_link.keycloakgettingstarted.link}}[{{book.external_link.keycloakgettingstarted.name}}] tutorials.
|
This guide assumes that you are already familiar with {{book.project.name}} and that you are able to install and boot a {{book.project.name}} Server. For more information, see the link:{{book.project.doc_base_url}}{{book.project.doc_info_version-url}}{{book.external_link.keycloakgettingstarted.link}}[{{book.external_link.keycloakgettingstarted.name}}] tutorials.
|
||||||
|
|
||||||
Ensure you have a {{book.project.name}} instance running; the default configuration is http://localhost:8080/auth[http://localhost:8080/auth]. After logging in to the
|
Ensure you have a {{book.project.name}} instance running; the default configuration is http://localhost:8080/auth[http://localhost:8080/auth]. After logging in to the
|
||||||
Administration Console, a page similar to this one is displayed:
|
Administration Console, a page similar to this one is displayed:
|
||||||
|
|
Loading…
Reference in a new issue