-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Template helpers: Enhanced JWT generation #1749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- jwt without parameter now generate a real jwt - keep length parameter as is for backward compatibility - add secret and payload parameters - payload properties iss, iat, exp are automaticly set if not provided
|
@Siumauricio, I had some difficulties to get a proper dev environment working (problem related to failed compilation of node-gyp and connection to postgresql wich failed during migration process). I think that the code changed are relatively isolated and should work as intended but can't test more than running unit tests on my side. Any help getting a proper environment setup will be appreciated if I need to make more PR in the future. |
- related PR on dokploy Dokploy/dokploy#1749
|
Looks good, the tests are working, to run the dev enviroment just follow these steps https://github.com/Dokploy/dokploy/blob/canary/CONTRIBUTING.md, I will merge the changes in the next version and you can implement the changes in the supabase template. |
- related PR on dokploy Dokploy/dokploy#1749
- related PR on dokploy Dokploy/dokploy#1749
- related PR on dokploy Dokploy/dokploy#1749
* ⬆️ Update Supabase template to version 1.25.03 * 🐛 Fix url in mail pointing to kong * ✨ Use new jwt helpers to generate unique jwts * 📝 Update README to reflect new changes in helpers - related PR on dokploy Dokploy/dokploy#1749 * ✨ Add pre0.21.8 version of supabase template + use jwt generation in newer template * 🔧 Add field dokploy_version for supabase templates * ⬆️ Update supabase version to 1.25.04 for dokploy >=0.1.28 * 🐛 Fix logs in supabase by adding dynamic container names and modifying vector.yml * ⬆️ Backport supabase 1.25.04 for dokploy < 0.21.8 * 📝 Add link to supabase self-hosting documentation in env file * 🚚 Change container_name_prefix to include appName * Update blueprints/pre0.21.8-supabase/template.toml * Update blueprints/supabase/template.toml * 🐛 Fix template using appname in older version of template --------- Co-authored-by: Mauricio Siu <[email protected]>
This is waited addition for supabase template update PR Dokploy/templates#76