Skip to content

Commit

Permalink
Set up token acquirement hook in dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
timkurvers committed Apr 13, 2015
1 parent cbaa95e commit 1a0ec46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/dummy/config/initializers/openid.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OpenIDTokenProxy.configure do |config|
config.token_acquirement_hook = proc { |token, error|
main_app.root_url + "?token=#{token}"
}
end

0 comments on commit 1a0ec46

Please sign in to comment.