example/config.ru in omniauth-mailup-0.0.1 vs example/config.ru in omniauth-mailup-0.0.2
- old
+ new
@@ -16,11 +16,10 @@
HTML
end
get '/auth/:provider/callback' do
content_type 'text/plain'
- token = request.env['omniauth.auth']['credentials']['token']
- "Access token is #{token}".inspect rescue "No data"
+ "AuthHash: #{request.env['omniauth.auth']}".inspect rescue "No data"
end
get '/auth/failure' do
content_type 'text/plain'
request.env['omniauth.auth'].to_hash.inspect rescue "No Data"
\ No newline at end of file