google.js 358 Bytes
Newer Older
adamrusly's avatar
adamrusly committed
1 2 3 4 5 6 7 8 9 10 11 12
import GAuth from 'vue-google-oauth2'

export default ({ Vue }) => {
  const gauthOption = {
    clientId: '502899943335-f47psuotb2m4jq5019fnnl8mjg9p6k5j.apps.googleusercontent.com',
    scope: 'profile email',
    prompt: 'select_account',
    // ux_mode: 'redirect',
    // redirect_uri: 'http://localhost:8080/callback'
  }
  Vue.use(GAuth, gauthOption)
}