Xuan Nguyen

Results 91 comments of Xuan Nguyen

Oh, wait. I don't think we can use `this.jwtClaimsSet.issueTime.toInstant()` in `expiresIn`. I understand that this must be the remain time from systemTime value.

https://datatracker.ietf.org/doc/html/rfc6749#section-5.1 > expires_in RECOMMENDED. The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time...

Anyway, do you think the value of expires_in is used to validate the token expiration? I have a feeling that it is just info in the response to the client...

> `expiresIn` should not be used for token validation, it is part of the token response and not the token itself. as a sidenote it can be manipulated so should...

Thanks @ybelMekk! Hope you enjoy your summer as well :). Yes, I am still waiting for your opinion on how to continue. Maybe we can just pass the configured systemTime...

> Sorry for the late reply, has been a long summer 😄 @tommytroen Hope you enjoyed your vacation :-) > I have created a PR which should solve your issue:...

Currently, I don't follow the given workaround to add a field to every pages. It doesn't make sense to me. It would be nice if the `filter` could be extended...

> [@xuanswe](https://github.com/xuanswe) are you talking about something like `filter: { field: hideFromCMS }` and then putting `hideFromCMS = true` in your `_index.md` or whatever you want hidden? Yes, and with...

It's useful also for developers.