-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Both clientId
and client_id
are required for VuexOidcClientSettings
#204
Comments
I see, I had missed this difference between oidc-client and oidc-client-ts – in the type definition (that vuex-oidc extends) in oidc-client client_id and redirect_uri are not required. I think the easiest fix is to set clientId and redirectUri as optional in the vuex-oidc interface I will fix this within short! |
Thanks @perarnborg for all your efforts! It's awesome to see that this lib is migrating to the new TS version. Is there an ETA for this fix? I've ran into the same issue. My "workaround" currently is using the TS naming scheme from oidc-client and a
for the linter to still accept the code :) |
Previous ETA was within short from jan 11. I seem to have failed with that. 😉 I will probably find the time to fix this let’s say this month. Hopefully sooner than the end of this month. But a bit stressed for time at the moment. |
This is fixed in v4.0.2. TS users should now set client_id and redirect_uri (snake_cased), as they are specified in oidc-client-ts |
With version 4.0.1
clientId
andclient_id
are expected attributes ofVuexOidcClientSettings
as well asredirect_uri
andredirectUri
.This leads to the following error:
In addition, the
accessTokenExpiringNotificationTimeInSeconds
attribute also seems to be an issue, although it works as expected.The text was updated successfully, but these errors were encountered: