Commit a64b4e09 authored by Matthieu Fesselier's avatar Matthieu Fesselier

examples fixes

parent cf86465c
Pipeline #4210 passed with stage
in 27 seconds
......@@ -5,6 +5,18 @@
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.0.20/webcomponents-loader.js"></script>
<title>SIB Badge - Demo</title>
<script type="module" src="../index.js"></script>
<script type="module" src="https://unpkg.com/@startinblox/oidc@latest"></script>
<sib-auth>
<sib-auth-provider
class="sib-auth-provider"
data-authority="http://127.0.0.1:8000"
data-client_id="268937"
data-id="paris"
>
</sib-auth-provider>
</sib-auth>
<script type="module" src="https://unpkg.com/@startinblox/core@0.7"></script>
<style>
:root{
......@@ -15,7 +27,7 @@
<body>
<h1>SIB Badge - demo</h1>
<p>Number of notifications related to conversation 7</p>
<sib-badge data-src="http://127.0.0.1:8000/conversations/7/"></sib-badge>
<p>Number of notifications related to conversation 1</p>
<sib-badge data-src="http://127.0.0.1:8000/conversations/1/"></sib-badge>
</body>
</html>
......@@ -10,8 +10,8 @@
<sib-auth>
<sib-auth-provider
class="sib-auth-provider"
data-authority="http://127.0.0.1:8000/openid/"
data-client_id="464079"
data-authority="http://127.0.0.1:8000"
data-client_id="268937"
data-id="paris"
>
</sib-auth-provider>
......
......@@ -10,8 +10,8 @@
<sib-auth>
<sib-auth-provider
class="sib-auth-provider"
data-authority="http://127.0.0.1:8000/openid/"
data-client_id="464079"
data-authority="http://127.0.0.1:8000"
data-client_id="268937"
data-id="paris"
>
</sib-auth-provider>
......
......@@ -10,8 +10,8 @@
<sib-auth>
<sib-auth-provider
class="sib-auth-provider"
data-authority="http://127.0.0.1:8000/openid/"
data-client_id="464079"
data-authority="http://127.0.0.1:8000"
data-client_id="268937"
data-id="paris"
>
</sib-auth-provider>
......
......@@ -8,8 +8,8 @@
<sib-auth>
<sib-auth-provider
class="sib-auth-provider"
data-authority="http://127.0.0.1:8000/openid/"
data-client_id="464079"
data-authority="http://127.0.0.1:8000"
data-client_id="268937"
data-id="paris"
>
</sib-auth-provider>
......
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