dwyl / dwyl/auth_plug

Renew Session JWT if it is about to expire

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
discuss enhancement T1h technical
Dominant language
Elixir
Stars
37
Forks
2
Avg merge
2h 27m
Merged PRs (30d)
1

Description

If a Session JWT is expiring soon, renew it.
We might need to add a `max_age` prop to `init(options)` with a `default` of **2 weeks** to ensure that this is customisable. But for now we will just renew it indefinitely as long as the current JWT has not expired.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.