Native support for JWT
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- authentication, backend
Hướng nghiên cứu
The issue proposes built-in JWT signing and verification functions but does not identify implementation files or tests. Start by reading the project’s documentation and code for built-in SQL functions, then look for relevant tests. Done means both requested functions are available and signing, verification, and returned header/payload/validity are tested.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What are you building with SQLPage ?
A proof of concept for use as a general purpose engine for declarative apps
What is your problem ? A description of the problem, not the solution you are proposing.
I would like to manage sessions for users with a stateless solution
What are you currently doing ? Since your solution is not implemented in SQLPage currently, what are you doing instead ?
JWT or PHP sessions
Describe the solution you'd like
Provide two built-in functions (like in this project https://github.com/michelp/pgjwt):
sqlpage_jwt_sign(payload: json_str, secret: str) -> strprovides a JWT signed using the provided secretsqlpage_jwt_verify(jwt_token: str, secret: str) -> |header: json_str|payload: json_str|valid: bool|verifies that the provided JWT and gives the payload and the header
Describe alternatives you've considered
Using https://github.com/michelp/pgjwt
Additional context
- Ngôn ngữ chính
- Rust
- Star
- 2.6k
- Fork
- 175
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của sqlpage/SQLPage
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
sqlpage/SQLPage#1218 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
There is no convenient way to reproduce issuesCó thể đã có người làm @81reap đã nhận 26 ngày trước. Đang mởenhancement
sqlpage/SQLPage#1566 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Confusing sort interfaceCó thể đã có người làm @lovasoa đã nhận 73 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
sqlpage/SQLPage#1442 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mutation Testing Results :: Dead Code + Missing TestsCó thể làm lại được @81reap đã nhận 61 ngày trước và không có pull request nào đang mở. Đang mở
sqlpage/SQLPage#1396 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của sqlpage/SQLPage
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
symposium-dev/symposium#530 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
topgrade-rs/topgrade#2540 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Invalid JSON options for ngram and edge_ngram silently use defaultsCó thể đã có người làm @Tilendlesa đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
noemaforge/vimanam#153 ·
Maintainer thường phản hồi trong vòng 1 ngày