{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/126","labels_url":"https://api.github.com/repos/auth0/auth0.js/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0.js/issues/126/comments","events_url":"https://api.github.com/repos/auth0/auth0.js/issues/126/events","html_url":"https://github.com/auth0/auth0.js/issues/126","id":124792854,"number":126,"title":"Not getting back a refresh_token from Google","user":{"login":"ianks","id":3303032,"avatar_url":"https://avatars.githubusercontent.com/u/3303032?v=3","gravatar_id":"","url":"https://api.github.com/users/ianks","html_url":"https://github.com/ianks","followers_url":"https://api.github.com/users/ianks/followers","following_url":"https://api.github.com/users/ianks/following{/other_user}","gists_url":"https://api.github.com/users/ianks/gists{/gist_id}","starred_url":"https://api.github.com/users/ianks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianks/subscriptions","organizations_url":"https://api.github.com/users/ianks/orgs","repos_url":"https://api.github.com/users/ianks/repos","events_url":"https://api.github.com/users/ianks/events{/privacy}","received_events_url":"https://api.github.com/users/ianks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-04T16:40:58Z","updated_at":"2016-01-04T16:58:10Z","closed_at":null,"body":"When using this configuration to run `auth0.login()`, I am returned an `undefined` refresh_token. Any idea what is happening?\r\n\r\n```\r\n{  \r\n  \"callbackOnLocationHash\":true,\r\n  \"rememberLastLogin\":false,\r\n  \"device\":\"AdHawk-Web-App\",\r\n  \"auth_params\":{  \r\n    \"scope\":\"openid offline_access\"\r\n  },\r\n  \"connection_scope\":[  \r\n    \"https://adwords.google.com/api/adwords/\"\r\n  ],\r\n  \"connection\":\"google-oauth2\",\r\n  \"callbackURL\":\"http://adhawk.dev:8000/auth/link\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/auth0/auth0.js/issues/comments/168733742","html_url":"https://github.com/auth0/auth0.js/issues/126#issuecomment-168733742","issue_url":"https://api.github.com/repos/auth0/auth0.js/issues/126","id":168733742,"user":{"login":"rolodato","id":829698,"avatar_url":"https://avatars.githubusercontent.com/u/829698?v=3","gravatar_id":"","url":"https://api.github.com/users/rolodato","html_url":"https://github.com/rolodato","followers_url":"https://api.github.com/users/rolodato/followers","following_url":"https://api.github.com/users/rolodato/following{/other_user}","gists_url":"https://api.github.com/users/rolodato/gists{/gist_id}","starred_url":"https://api.github.com/users/rolodato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolodato/subscriptions","organizations_url":"https://api.github.com/users/rolodato/orgs","repos_url":"https://api.github.com/users/rolodato/repos","events_url":"https://api.github.com/users/rolodato/events{/privacy}","received_events_url":"https://api.github.com/users/rolodato/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T16:58:10Z","updated_at":"2016-01-04T16:58:10Z","body":"`authParams.scope` is used in Lock. auth0.js uses just `scope` instead. Try this:\r\n\r\n```\r\n{  \r\n  \"callbackOnLocationHash\":true,\r\n  \"rememberLastLogin\":false,\r\n  \"device\":\"AdHawk-Web-App\",\r\n  \"scope\":\"openid offline_access\",\r\n  \"connection_scope\":[  \r\n    \"https://adwords.google.com/api/adwords/\"\r\n  ],\r\n  \"connection\":\"google-oauth2\",\r\n  \"callbackURL\":\"http://adhawk.dev:8000/auth/link\"\r\n}\r\n```"}}