Securing a Vue.js app using OpenID Connect Code Flow with PKCE and IdentityServer4

added by DotNetKicks
1/29/2019 6:19:24 AM

2 Kicks, 509 Views

This article shows how to setup a Vue.js SPA application to authenticate and authorize using OpenID Connect Code flow with PKCE. This is good solution when implementing SPA apps requesting data from APIs on separate domains. The oidc-client-js npm package is used to implement the client side authentication logic and validation logic.