From a3d77fedc6cfbc49728349292a04e31c91cc9900 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Wed, 16 Jun 2021 08:53:23 +0200
Subject: [PATCH] Update auth documentation

---
 packages/auth/README.md    | 11 +++++++++++
 packages/auth/package.json |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/packages/auth/README.md b/packages/auth/README.md
index 19b79625..e5b53118 100644
--- a/packages/auth/README.md
+++ b/packages/auth/README.md
@@ -15,6 +15,17 @@ npm i @dbp-toolkit/auth
 <script type="module" src="node_modules/@dbp-toolkit/auth/dist/dbp-auth.js"></script>
 ```
 
+Or directly via CDN:
+
+```html
+<dbp-auth-keycloak url="https://auth.tugraz.at/auth" realm="tugraz" client-id="some-id"></dbp-auth-keycloak>
+<script type="module" src="https://unpkg.com/@dbp-toolkit/auth@0.2.2/dist/dbp-auth.js"></script>
+```
+
+You need Keycloak to be in place to make use of the auth component.
+Best take a look on examples like [index.html](https://gitlab.tugraz.at/dbp/esign/signature/-/blob/master/examples/dbp-signature/index.html)
+for more explanation.
+
 ### Attributes
 
 - `lang` (optional, default: `de`): set to `de` or `en` for German or English
diff --git a/packages/auth/package.json b/packages/auth/package.json
index a9b4d575..fef80e5b 100644
--- a/packages/auth/package.json
+++ b/packages/auth/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@dbp-toolkit/auth",
   "homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/auth",
-  "version": "0.2.2",
+  "version": "0.2.3",
   "main": "src/index.js",
   "license": "LGPL-2.1-or-later",
   "repository": {
-- 
GitLab