Skip to content

Add automatic Paragon user token refresh#7

Open
ethanlee16 wants to merge 1 commit intomainfrom
codex/implement-token-refresh-for-jwt
Open

Add automatic Paragon user token refresh#7
ethanlee16 wants to merge 1 commit intomainfrom
codex/implement-token-refresh-for-jwt

Conversation

@ethanlee16
Copy link
Member

Summary

  • share auth utilities in lib/auth.js
  • update custom server to use shared auth helpers
  • expose /api/paragon-token API route for refreshing JWTs
  • refresh the Paragon user token in useParagon when nearing expiry

Testing

  • npm run build (fails: next not found)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant