<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 15.4.2015 13:02, pslegr wrote:<br>
</div>
<blockquote cite="mid:552E4552.7020103@redhat.com" type="cite">
<pre wrap="">
On 9.4.2015 13:30, Stian Thorgersen wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "pslegr" <a class="moz-txt-link-rfc2396E" href="mailto:pslegr@redhat.com"><pslegr@redhat.com></a>
To: "keycloak dev" <a class="moz-txt-link-rfc2396E" href="mailto:keycloak-dev@lists.jboss.org"><keycloak-dev@lists.jboss.org></a>
Sent: Wednesday, 8 April, 2015 2:00:08 PM
Subject: [keycloak-dev] Keykload and Swagger.io integration
Hi guys,
I've found an old thread wrt ${subject} here
<a class="moz-txt-link-freetext" href="http://lists.jboss.org/pipermail/keycloak-dev/2014-May/001842.html">http://lists.jboss.org/pipermail/keycloak-dev/2014-May/001842.html</a>
and I wonder, if there was some further research on it.
I need to integrate Swagger.io and Keycloak
Anyone tried out already, or having some example to show ?
</pre>
</blockquote>
<pre wrap="">Nope, but if you come up with something we want it :)
</pre>
</blockquote>
<pre wrap="">Ok, I will try to design it myself and get back to you, so you can
reuse it if you want :)</pre>
</blockquote>
<a class="moz-txt-link-freetext" href="https://github.com/project-ncl/pnc/commit/b85b1ad0a1415751946c57a281c05f7b828c3ad6">https://github.com/project-ncl/pnc/commit/b85b1ad0a1415751946c57a281c05f7b828c3ad6</a><br>
<br>
It is simple usage of Keycloak JS adapter plus Swagger adding
additional header via<br>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span class="pl-c1" style="box-sizing: border-box; color: rgb(0,
134, 179); font-family: Consolas, 'Liberation Mono', Menlo,
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 16.7999992370605px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);">window</span><span
style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation
Mono', Menlo, Courier, monospace; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 16.7999992370605px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(234, 255, 234);">.authorizations.</span><span
class="pl-c1" style="box-sizing: border-box; color: rgb(0, 134,
179); font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);">add</span><span
style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation
Mono', Menlo, Courier, monospace; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 16.7999992370605px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(234, 255, 234);">(</span><span
class="pl-s" style="box-sizing: border-box; color: rgb(24, 54,
145); font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);"><span class="pl-pds"
style="box-sizing: border-box; color: rgb(24, 54, 145);">"</span>oauth2<span
class="pl-pds" style="box-sizing: border-box; color: rgb(24, 54,
145);">"</span></span><span style="color: rgb(51, 51, 51);
font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(234, 255, 234);">,
</span><span class="pl-k" style="box-sizing: border-box; color:
rgb(167, 29, 93); font-family: Consolas, 'Liberation Mono', Menlo,
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 16.7999992370605px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);">new</span><span
style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation
Mono', Menlo, Courier, monospace; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 16.7999992370605px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(234, 255, 234);"> </span><span
class="pl-en" style="box-sizing: border-box; color: rgb(121, 93,
163); font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);">ApiKeyAuthorization</span><span
style="color: rgb(51, 51, 51); font-family: Consolas, 'Liberation
Mono', Menlo, Courier, monospace; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: 16.7999992370605px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important; float:
none; background-color: rgb(234, 255, 234);">(</span><span
class="pl-s" style="box-sizing: border-box; color: rgb(24, 54,
145); font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);"><span class="pl-pds"
style="box-sizing: border-box; color: rgb(24, 54, 145);">"</span>Authorization<span
class="pl-pds" style="box-sizing: border-box; color: rgb(24, 54,
145);">"</span></span><span style="color: rgb(51, 51, 51);
font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(234, 255, 234);">,
</span><span class="pl-s" style="box-sizing: border-box; color:
rgb(24, 54, 145); font-family: Consolas, 'Liberation Mono', Menlo,
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 16.7999992370605px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);"><span class="pl-pds"
style="box-sizing: border-box; color: rgb(24, 54, 145);">"</span>Bearer
<span class="pl-pds" style="box-sizing: border-box; color: rgb(24,
54, 145);">"</span></span><span style="color: rgb(51, 51, 51);
font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(234, 255, 234);"> </span><span
class="pl-k" style="box-sizing: border-box; color: rgb(167, 29,
93); font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);">+</span><span style="color:
rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Menlo,
Courier, monospace; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: 16.7999992370605px; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre; widows:
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; display:
inline !important; float: none; background-color: rgb(234, 255,
234);"> keycloak.token, </span><span class="pl-s"
style="box-sizing: border-box; color: rgb(24, 54, 145);
font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(234, 255, 234);"><span class="pl-pds"
style="box-sizing: border-box; color: rgb(24, 54, 145);">"</span>header<span
class="pl-pds" style="box-sizing: border-box; color: rgb(24, 54,
145);">"</span></span><span style="color: rgb(51, 51, 51);
font-family: Consolas, 'Liberation Mono', Menlo, Courier,
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
16.7999992370605px; orphans: auto; text-align: start; text-indent:
0px; text-transform: none; white-space: pre; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline
!important; float: none; background-color: rgb(234, 255, 234);">));<br>
</span><br>
works quite nice with
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
'login-required'<br>
I did not deal with logout... <br>
<br>
<blockquote cite="mid:552E4552.7020103@redhat.com" type="cite">
<pre wrap="">
cheers
Pavel
</pre>
<blockquote type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">thanks
Pavel
_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>