Skip to content

GaborTorma/nuxt-apollo-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

nuxt-apollo-auth

apollo schema for @nuxtjs/auth

usage in nuxt.config.js:

auth: {
    fullPathRedirect: true,
    strategies: {
        apollo: {
            _scheme: '~/plugins/apollo-auth.js'
        }
    }
}

apollo: {
    authenticationType: 'Bearer',
    clientConfigs: {
        default: {
            httpEndpoint: 'http://localhost:4000',
            wsEndpoint: 'ws://localhost:4000',
            websocketsOnly: true
        }
    }
}

Designed for default generated Photon.js auth server

Releases

No releases published

Packages

No packages published