/vuex-oidc

Vuejs (with vuex) wrapper for open id authentication

Primary LanguageJavaScriptMIT LicenseMIT

vuex-oidc

Vue.js implementation of oidc-client-ts (or oidc-client in <v4) using vuex and vue-router.

⚠️ Breaking changes: vuex-oidc v4 introduces some breaking changes.

  • oidc-client-ts instead of oidc-client is now a required peer dependency
  • The Implicit Flow is no longer supported, Authorization Code Flow with PKCE is the only supported OAuth flow type
  • vuexOidcProcessSilentSignInCallback, which previously took no arguments, now needs the oidcSettings as an argument.

Documentation

See the wiki for documentation on how to implement vuex-oidc. Docs for v3 can be found here.

Examples

An example of an implementation can be found here.

An example using Nuxt can be found here.

Build status

Tests are run on https://travis-ci.org

Build Status

License

MIT.