400 access_denied

This is how I created the app on okta


Add a user on vue

Dependent version
@okta/okta-auth-js@4.7.1
@okta/okta-vue@3.1.0

Dependent access
const oktaAuth = new OktaAuth({
clientId: ‘’,
issuer: ‘’,
redirectUri: “/login/callback”,
scopes: [‘openid’, ‘profile’, ‘email’],
debug: true
})

Vue.use(OktaVue, { oktaAuth })

When the application logs in, error 400 is displayed with error code access_denied

Did you add this application (SPA) under any Authorization Server’s > Access Policy?

If not add this application and give it a try.