pamapa

Results 411 comments of pamapa

Ok, i thought that was intentional. Is there a specific reason to have the `getEpochTime` return a Promise, returning `number` makes it much simpler...

@lwansbrough Does https://github.com/authts/oidc-client-ts/pull/416 work for your case?

My first attempt, which is parked on a MR made everything extremely complicated. As i now better understand the needs i would suggest to allow to replace the "default" `ClockService`...

What i forgot in the previous post: Since we have dropped the implicit grant, we do no longer need to validate the token. The [expires](https://datatracker.ietf.org/doc/html/rfc6749#section-5.1) [time](https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2) we receive from the...

This library only supports SSR (without a `window`), but to actually authenticate a `window` is required. See https://github.com/authts/oidc-client-ts/issues/256#issuecomment-992080256.

i am now closing this, if you do not agree please comment here...

`includeIdTokenInSilentRenew` is used to set `id_token_hint` here: https://github.com/authts/oidc-client-ts/blob/bb04f0c418e92b818595f464e4d081515635cae4/src/UserManager.ts#L250 `id_token_hint` if part of optionalParams is appended to url here: https://github.com/authts/oidc-client-ts/blob/bb04f0c418e92b818595f464e4d081515635cae4/src/SigninRequest.ts#L111-L115

> It seems that in the case of the parameter `includeIdTokenInSilentRenew` the value is hard coded to `false` a What you saw is only the default. You should be able...

Can you check if you have a user and that this user has an id_token when doing the silent renew: `includeIdTokenInSilentRenew` is used to set `id_token_hint` here: https://github.com/authts/oidc-client-ts/blob/bb04f0c418e92b818595f464e4d081515635cae4/src/UserManager.ts#L250 -> `user?.id_token`...

The `MetadataService` did not change between 2.0.4 and 2.0.5, must be something else. Here are the differences: https://github.com/authts/oidc-client-ts/compare/v2.0.4...v2.0.5 Can you enable logging of the working and non working to see...