IdentityModel / oidc-client-js

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Apache License 2.0
2.43k stars 842 forks source link

Does it support code flow #1349

Open rutup opened 3 years ago

rutup commented 3 years ago

I have integrated Vuex-oidc with implicit flow. It works perfect. However when using Code Flow it does not work. also it does not have option for passing response_mode which is mandate for using PKCE

brockallen commented 3 years ago

oidc-client-js supports code flow with PKCE. You can indicate the response_mode of query and fragment, but you must configure that on each instance. response_mode of form_post does not make sense for a client-side JS app.