Simple behind-the-scenes API authentication with OAuth2

Like many others I’ve been spending a lot of time with OAuth2 lately. The single-sign-on system we’ve built at GDS acts as a very simple oauth provider for our other apps (effectively just joining up the oauth2-provider and devise gems), and we’re probably going to be extending our API adapter code so that we can use it for those apps whose APIs need authentication. What I’d not explored for a while was the simplest way to implement app-to-app oauth where there’s no UI for user interaction so over the New Year break I pulled something together for another project. It’s all pretty straightforward but not very well documented so I thought I’d better share. ...

January 3, 2012

Where Is He Now?

Nearly five months ago we revealed Alpha.gov.uk. And then this blog became even quieter. It’s been a few months of big transitions, two of which had to be kept quiet for a while. Since I last wrote here we’ve been busy arranging a move of house (from Harringay to Homerton), have discovered we’ve got another child on the way, and I’ve become a Civil Servant. All three are exciting changes, but it’s the last that I sat down to write about here. For several years I’ve been working on building Ket Lai, initially alone, then with James Weiner, and gradually with a wider selection of collaborators. Things were going well, and we were building up a solid base of clients and getting close to having a couple of products of our own to release. But when the call to the public sector came, it didn’t take long to agree that we’d put Ket Lai on the back-burner and jump on board. ...

October 5, 2011

Alpha.gov.uk is GO!

Late last night I commented out the HTTP authentication settings, and Alpha.gov.uk was live. I’ve not slept much since then, but so far everything seems to be running smoothly. Apart from my email and twitter clients which are swimming in a deluge of feedback. There’s a quick post from me on the Alphagov blog exploring the way we’re handling geographic information and place names. A longer post is coming later in the week with an outline of the technical architecture of the site, and a few more will follow exploring more nitty gritty details. ...

May 11, 2011

And so we're revealed... AlphaGov

Last time I got round to writing weeknotes I mentioned an exciting new project. I wasn’t meant to say much about it, which is part of the reason that was the last time I got round to writing weeknotes. But today a post on the Cabinet Office digital engagement blog took the wrappers off and we can begin to talk about what we’re up to. ...

March 29, 2011

SxSW Interactive: A federated future?

It’s a week now since I got off the plane home from my second SxSW Interactive. I’ve primarily spent the intervening time catching up with work, but it’s also provided a little space to read a few other peoples’ take on the event, to listen to the Tech Weekly podcast that the Guardian produced at the event, and to look out for patterns. It seems I was far from alone in starting this year’s South By complaining about the size, but then finding that that subsided as the week wore on. It definitely had a very different feel from just two years ago (and even then people were commenting on how big it was). With events spread around town, distance between talks was a very real consideration in choosing what to go to. Or whether to go to anything at all. Most of the central food establishments had intimidating queues. ...

March 24, 2011

Fair Trade Letter Forms

Ben wrote a piece about a typeface that a lot of people in the UK will have seen around, and are hopefully seeing a lot of at the moment. It’s the one being used by the Fairtrade Foundation on all their materials, and it’s really quite nice. We don’t often hear the stories behind fonts, but since Fair Trade is in large part about hearing the stories behind things we take for granted it’s good to hear this one. So head over to Noisy Decent Graphics and have a read. ...

March 11, 2011

Empowered, engaged adults

Matt Thompson’s " A 5-minute framework for fostering better conversations in comments sections" has cropped up in my twitter feed several times over the past few days but it wasn’t until the flight to SxSW that I got a chance to read it. It collects together lots of sensible stuff, and distills it quite helpfully. Definitely something I’ll come back to next time we’re designing commenting systems, or their like. But the line that really leapt out at me was: ...

March 11, 2011

Week 179

A few less meetings this week, but one of those I did squeeze in has led to some fairly rapid results. Tomorrow I’ll be heading down to Lambeth to get started on an intensive project that will occupy most of my time till May. It’s very exciting but a bit hush-hush so I’ll have to be careful what I blog. With that lined up the focus has been on clearing the decks (but not, unfortunately, writing the many blog entries I’ve been meaning to get to). ...

February 13, 2011

Week 178

This week has followed in much the same vein as the last. Lots of rushing between meetings, squeezing in the time to do the work that needs to fit around them. There were a couple of exciting meetings about some projects for the coming months, and a slightly harder one trying to figure out whether there’s a realistic business model around a product we’ve been exploring over the past few months. And an afternoon learning a little about Nokia’s new developer platform (on which more, later). ...

February 6, 2011

History Hack Day

My officemate Matt has spent the past few weeks putting together the inaugural History Hack Day, which took place at the Guardian offices last weekend. I was only able to attend for the kick-off talks, but they were great, with Matt Sheret’s exhortation to be timelords fitting especially well. Jeremy Keith has done a great job of writing up the various hacks that emerged from the weekend and I’m gradually working my way through them. I’ve very much enjoyed watching Simon’s geStation which plots the openings of Britain’s railway stations onto a google map. As Jeremy says: ...

January 25, 2011