example/config.ru in omniauth-createsend-1.0.0 vs example/config.ru in omniauth-createsend-1.0.1
- old
+ new
@@ -6,11 +6,11 @@
get '/' do
redirect '/auth/createsend'
end
get '/auth/createsend/callback' do
- response = "Your user is successfully authenticated. Here are you details you need:<br/><br/>"
- response << "token: #{request.env['omniauth.auth']['credentials']['token']}<br/>"
+ response = "Your user is successfully authenticated. Here are the details you need:<br/><br/>"
+ response << "access token: #{request.env['omniauth.auth']['credentials']['token']}<br/>"
response << "refresh token: #{request.env['omniauth.auth']['credentials']['refresh_token']}<br/>"
response << "expires at: #{request.env['omniauth.auth']['credentials']['expires_at']}<br/>"
response
end