Skip to content

Commit

Permalink
Updates info re: ports and URLs and Callbacks when using Pow or rackup.
Browse files Browse the repository at this point in the history
  • Loading branch information
charliepark committed Feb 10, 2013
1 parent 6d5a0af commit c67036c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions github-template.rb
Expand Up @@ -24,9 +24,11 @@ class User
# Name: {whatever you want to call your app}
# URL: http://localhost:4567
# Callback URL: http://localhost:4567/auth/github/callback
# That Callback URL should match whatever URL you have below (mine is on line 59).
# If you use Pow or an alternate server, you'll probably use something other than
# "http://localhost:4567"
# That Callback URL should match whatever URL you have below (mine is on line 61).
# * If you start your server with "ruby {filename.rb}", your URL and Callback URL
# will have a port of :4567 (so: http://localhost:4567).
# * If you use 'rackup', you'll have a port of :9292.
# * If you use Pow, you won't have a port, you'll just use http://{appname}.dev
#
# Don't save your "client ID" and "client secret" values in a publicly-available file.
use OmniAuth::Builder do
Expand Down

0 comments on commit c67036c

Please sign in to comment.