Guillaume Chervet
Guillaume Chervet
Hi @tg123 @WeihanLi I was creating disposing a new Kubernetes client at each iteration.
I still have now a tigth memory leak. 10 Mo in 2 productions week. But i have to investigate to know the source.
The librairy refresh tokens automaticaly in background. The clean way to use it is here: https://github.com/AxaFrance/oidc-client/blob/main/packages/oidc-client/src/fetch.ts like @meesvandongen said upper, you can use directly @axa-fr/oidc-client.
Yes it is possible @MichalJana
Hi @tobiashochguertel , that's a good question. I have the same need for my new app. I will try to build it and enhance documention about it.
hi @bogdanbz93 , You need to use silent signin : https://github.com/AxaFrance/oidc-client/blob/main/FAQ.md#condition-to-make-silent-signing-work and do not ask for scope offline_access which bring refresh_token. In 2024 it will works well only if your...
hi @meesvandongen , Thank you for your issue. ConfigurationName is the way to use multiple configuration. Do you have a domain list somewhere (in a database) ? Your trustedDomain.js may...
Hi @meesvandongen , The trusteddomain list is a security to garanty that access_tokens are not send to an untrusted url. You can set * to access_token domains list. It will...
Hi @meesvandongen , do you have some sample with api domains and oidc server domain in order to help me to understand your need.
I think i am starting to understand your need @meesvandongen Does this way to inject extra resolve your need? https://github.com/AxaFrance/oidc-client/blob/7b4580a9bc765c83b5de72e0ad85b14e33a286cd/examples/react-oidc-demo/src/MultiAuth.tsx#L52 Each function offer an extras properties to override default extras.