I've been struggling for two days with OAuth and RSpec to get a properly tested RESTful API using a 2-legged OAuth authentication so I thought about posting it here and prevent more pain to happen.

So here it is, in the answer.

没有正确的解决方案

其他提示

I've built an example app. See it there : https://github.com/jerefrer/oauth-two-legged-restful-api

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top