-
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
Error with authenticateOidcSilent #129
Comments
@Samtronic When does this error appear? Is it when the application tries to renew the authentication? Or when the user visits a route? |
When the user is not logged and when the token is about to expiring. The behavior of authenticateOidcSilent is different since update export const oidcSettings = { |
@Samtronic Can you check what version of oidc-client you have installed? |
Version 1.10.1 |
@Samtronic Thank you for your help in pointing this out! The error should be gone in v3.9.8. Let me know if not! |
Hi, When I am not logged, I have now the message from only "oidcError" event. An error occured at authenticateOidcSilent: End-User authentication is required When I am logged, and the Token is about to expired. I have again both message from "oidcError" event and "oidc-client" An error occured at authenticateOidcSilent: End-User authentication is required Thanks |
Hi, I try version 3.10.0 and when I am not logged the event oidcError event is gone, but I have always the same error on authenticateOidcSilent. I never receice the event 'accessTokenExpiring' like before. Thanks |
Hi, I've just updated When standard token expires for users in staging environment after several hours, I receive the same error as Samtronic An error occured at authenticateOidcSilent: End-User authentication is required It's pretty dificult to debug, because it works without any issue on my machine... Debug log:
|
Not certain, but could be fixed in v3.10.1. |
Again the same error for me |
@Samtronic are the redirect and silent renew callback the same SPA or an external html file? I wonder if there is a different in the setup + config. |
@coolhome Your PR resolved my problem, thanks man! 👍 |
@coolhome I took the example here. And I put my authentication info and I got the same error message. Oidc config: Server NodeOidc Settings |
@cdshotels-liborpansky How you solve your issue ? |
@Samtronic I see you have Outside of that guess I am afraid I won't be much help. |
@coolhome you can use module.exports = {
// GENERAL CONFIGS
pages: {
app: {
title,
entry: 'src/main.ts',
template: 'public/index.html',
filename: 'index.html',
excludeChunks: ['silentRenewOidc'],
},
silentRenewOidc: {
entry: 'src/silentRenewOidc.ts',
template: 'public/silent-renew.html',
filename: 'silent-renew.html',
excludeChunks: ['app'],
},
},
};
import 'core-js/features/promise';
import { vuexOidcProcessSilentSignInCallback } from 'vuex-oidc';
vuexOidcProcessSilentSignInCallback(); |
Thanks everyone for your help, but I still have the same problem. I'll look at the logs on the OIDC server to see if I can't find something |
@Samtronic did you solve problem ?I have same issue. |
no. I have not investigated further. |
I install the last version 3.9.7 since I have error.
This is a log of event "oidcError"
An error occured at authenticateOidcSilent: End-User authentication is required
oidc-client.min.js?dd17:1 Uncaught (in promise) ErrorResponse: End-User authentication is required
at new e (oidc-client.min.js?dd17:1)
at t [as _processSigninParams] (oidc-client.min.js?dd17:1)
at t [as validateSigninResponse] (oidc-client.min.js?dd17:1)
at eval (oidc-client.min.js?dd17:1)
Thanks
Steven
The text was updated successfully, but these errors were encountered: