Frappe Util Configs
Useful frappe features for your random purposes
- Author: leam-tech
- Repository: https://github.com/leam-tech/frappe_util_configs
- GitHub stars: 3
- Forks: 4
- License: NOASSERTION
- Category: Other
- Maintenance: Unmaintained
Install Frappe Util Configs
bench get-app https://github.com/leam-tech/frappe_util_configs
Add the Frappe Gems badge to your README
Maintain Frappe Util Configs? Paste this into your README:
[](https://frappegems.com/gems/apps/leam-tech/frappe_util_configs)
About Frappe Util Configs
Frappe Util Configs
Useful frappe features for your random purposes
Installation
$ bench get-app https://github.com/leam-tech/frappe_util_configs
You dont have to install this app in any frappe site. Please follow the sections below to make use of those features
JWT
JSON WebToken are easy to work with compared to Session Cookies. We present you JWT Support in frappe. - To start using this, please run the following:
$ bench frappe-util-configs init
This command will update the config/supervisor.conf to use frappe_util_configs.app:application as gunicorn entry point and replaces default frappe/socket.io with frappe_util_configs/socket.io
To obtain a token, pass
use_jwt: 1along with email and passwordPOST /api/method/login { "usr": "administrator", "pwd": "my-pwd", "use_jwt": 1 }You will get the token in the response
To use the token, pass it in
AuthorizationheaderPOST /api/method/frappe.auth.get_logged_user Authorization: JWT
CORS
Cross Origin Resource Sharing might be required when you have custom applications running To have the CORS headers available in production mode, run
$ bench frappe-util-configs nginx
License
MIT
Related Other apps for Frappe & ERPNext
- Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
- Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
- Print Designer — Visual print designer for Frappe / ERPNext
- Ctr — CTR模型代码和学习笔记总结
- Whitelabel — Whitelabel ERPNext
- Fossunited — fossunited.org
- Helm — Helm Chart Repository for Frappe/ERPNext
- Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.