Hi,
Sean Glazier (who has trouble subscribing to the mailing lists, in CC) is looking for an implementation of JSON Web Tokens (https://tools.ietf.org/html/rfc7519). Is there anyone who can help him ? He is doing his first Pharo project coming from VW, and of course he has time constraints. Thanks, Sven |
I uploaded an old implementation of mine. It is not fully implemented but usable for the easy case.
Hope it helps, Norbert
|
Great, thanks Norbert !
> On 21 Jul 2016, at 12:04, Norbert Hartl <[hidden email]> wrote: > > I uploaded an old implementation of mine. It is not fully implemented but usable for the easy case. > > http://smalltalkhub.com/#!/~NorbertHartl/JSONWebToken > > Hope it helps, > > Norbert > >> Am 21.07.2016 um 10:04 schrieb Sven Van Caekenberghe <[hidden email]>: >> >> Hi, >> >> Sean Glazier (who has trouble subscribing to the mailing lists, in CC) is looking for an implementation of JSON Web Tokens (https://tools.ietf.org/html/rfc7519). Is there anyone who can help him ? >> >> He is doing his first Pharo project coming from VW, and of course he has time constraints. >> >> Thanks, >> >> Sven >> >> > |
Thanks too. I may find that useful (I didn’t know JWT) !
Cheers, Cédrik |
In reply to this post by NorbertHartl
Hi, Thank you so much. did you use it in a seaside widget as well? if so could I see it? If this is a dumb question please forgive me. I will also see if I need additional code and will update it as well as corresponding tests. I have been working balls to the walls cause we have little time to port things tes then deploy. Of course, they never give us enough time and we start off 2 weeks behind just like engineering school. ( RPI for me). I am really looking forward to getting a great project done though and when I succeed I will put links to it so folk can see what we did. Again Thank you! Kind Regards, Sean Glazier On Thu, Jul 21, 2016 at 6:04 AM, Norbert Hartl <[hidden email]> wrote:
|
> On 21 Jul 2016, at 18:00, Sean Glazier <[hidden email]> wrote: > > Hi, > > Thank you so much. did you use it in a seaside widget as well? if so could I see it? If this is a dumb question please forgive me. I will also see if I need additional code and will update it as well as corresponding tests. I have been working balls to the walls cause we have little time to port things tes then deploy. > > Of course, they never give us enough time and we start off 2 weeks behind just like engineering school. ( RPI for me). > > I am really looking forward to getting a great project done though and when I succeed I will put links to it so folk can see what we did. Well, first finish your project, then worry about the rest. Good Luck ! > Again Thank you! > > > Kind Regards, > > Sean Glazier > > > On Thu, Jul 21, 2016 at 6:04 AM, Norbert Hartl <[hidden email]> wrote: > I uploaded an old implementation of mine. It is not fully implemented but usable for the easy case. > > http://smalltalkhub.com/#!/~NorbertHartl/JSONWebToken > > Hope it helps, > > Norbert > >> Am 21.07.2016 um 10:04 schrieb Sven Van Caekenberghe <[hidden email]>: >> >> Hi, >> >> Sean Glazier (who has trouble subscribing to the mailing lists, in CC) is looking for an implementation of JSON Web Tokens (https://tools.ietf.org/html/rfc7519). Is there anyone who can help him ? >> >> He is doing his first Pharo project coming from VW, and of course he has time constraints. >> >> Thanks, >> >> Sven >> >> > > |
In reply to this post by Sean Glazier
Hi Sean,
I never used it together for seaside just to authenticate REST based stuff. The solution should be similar. It would be a good idea to describe what you are trying to achieve. Otherwise it is really hard to give proper advize. Norbert
|
In reply to this post by Sven Van Caekenberghe-2
Thanks for this Norbert. It works great with Teapot microservices that
are associated with specific JQuery widget instances. I can insert the token into the widget's callback to the pot so that only that widget instance can use that particular service. The way our web app works is that it generates a JSP with all the repetitive content / look and feel, and inserts JQuery widgets to display any dynamic data. Since the data I'm working on comes from a Pharo app I configure the JQuery widget and a pot, and supply the widget to the Java EE server from Seaside to generate the full page. The widget also keeps a lease open with the Seaside server and when the user leaves the page and the widget stops requesting the lease, Pharo can recycle the pot. Andrew Glynn On 7/22/2016 6:12 AM, [hidden email] wrote: > An Implementation of JSON Web Tokens -- Andrew Glynn 647-539-7228 (cell/text) ☃ ☃☃ ☃☃☃ ☃☃ ☃ Burnin down the house ... |
Hi andrew
I would love to read a blog post on your architecture... and also add your application (if it makes sense) to the Pharo success story Stef Le 22/7/16 à 13:46, andrew glynn a écrit : > Thanks for this Norbert. It works great with Teapot microservices that > are associated with specific JQuery widget instances. I can insert the > token into the widget's callback to the pot so that only that widget > instance can use that particular service. The way our web app works is > that it generates a JSP with all the repetitive content / look and feel, > and inserts JQuery widgets to display any dynamic data. Since the data > I'm working on comes from a Pharo app I configure the JQuery widget and > a pot, and supply the widget to the Java EE server from Seaside to > generate the full page. The widget also keeps a lease open with the > Seaside server and when the user leaves the page and the widget stops > requesting the lease, Pharo can recycle the pot. > > Andrew Glynn > > On 7/22/2016 6:12 AM, [hidden email] wrote: > >> An Implementation of JSON Web Tokens |
Free forum by Nabble | Edit this page |