While working on ResultsDB’s frontend, I’ve finally hit the “We need authentication/authorisation!” spot. As this is a Fedora effort, FAS was an immediate thought. After some random googling, I found the FASWho Plugin page. So I decided to get my hands dirty, and read through the documentation, browsing all the random hyperlinks, and found no examples whatsoever. Few hours of pointless experimentation (yes, I’m no TurboGears2 pro ;)), I finally pinged lmacken, and asked for help.

He was so kind to point me to the source code for the Fedora Tagger (cool app, btw!), so I can see, test and play around with working code.

In the end, it is way easier, than I’d thought it is. If you have quickstarted TG2 project, these are the minimal changes (in pseudo-diff format) to make it FAS-Login-able.

One Response to FAS Authentication for TG2 apps

Good day I am so thrilled I found your webpage, I really found you by
error, while I was searching on Google for something else,
Nonetheless I am here now and would just like to say kudos for a marvelous post and
a all round interesting blog (I also love the theme/design), I don’t have time to browse it all at the minute but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the fantastic work.