Open bogdanbz93 opened 7 months ago
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 OIDC provider is under the same Domain than your application.
Thanks @guillaume-chervet,
Hmm, but how can I insert credentials: "include" to get my Cookie from my token endpoint, first?
Hi!
I may be new to this domain. My API server sends the refresh_token as an http only cookie. Since it doesn't come directly in the response, how can I refresh the token by sending it back?
Thanks!