Last Updated: February 25, 2016
· barnabyalter

Test development Ruby on Rails apps authentication with remote OAuth2 provider

If you've configured your Doorkeeper with the default settings it will not allow you to put localhost:3000 as the redirect callback because it requires an SSL protected redirect. For staging apps you may want to set force_ssl_in_redirect_uri false in your Doorkeeper initializer.

However, you may want to test your local app against a live OAuth provider with a callback URL that imitates your client application's protocol, i.e.

Configuring Pow with NGINX and SSL on OSX

Follow these instructions, they're very thorough: This will tell you all you need to know to get

jRuby error: IOError: Socket is not connected

Getting the error above? Hack pow to make it work until jRuby fixes this issue:

Read more about the issue: