e11e6a8bf7
feat(security): ✨ Add OAuth2 authentication examples and methods
...
* Introduce OAuth2 authentication examples for Google, GitHub, and custom providers.
* Implement OAuth2 methods for handling authentication, token refresh, and logout.
* Create a flexible structure for supporting multiple OAuth2 providers.
* Enhance DatabaseAuthenticator to manage OAuth2 sessions and user creation.
* Add database schema setup for OAuth2 user and session management.
2026-01-31 22:35:40 +02:00
0b8d11361c
feat(auth): ✨ add user registration functionality
...
* Implemented resolvespec_register stored procedure for user registration.
* Added RegisterRequest struct for registration data.
* Created Register method in DatabaseAuthenticator.
* Updated tests for successful registration and error handling for duplicate usernames and emails.
2026-01-31 21:50:32 +02:00
copilot-swe-agent[bot]
e10e2e1c27
Fix recover() usage in CatchPanic functions by returning deferred function
...
Co-authored-by: warkanum <208308+warkanum@users.noreply.github.com >
2025-12-30 11:06:43 +00:00
Hein
6d88f2668a
Updated login interface with meta
2025-12-11 14:05:27 +02:00
Hein
8a9423df6d
Fixed DatabaseAuthenticator JSON value. Added make tag
2025-12-11 13:59:41 +02:00
Hein
a95c28a0bf
Multi Token warning and handling
2025-12-10 08:44:37 +02:00
Hein
0f05202438
Database Authenticator with cache
2025-12-09 11:32:44 +02:00
Hein
b2115038f2
Fixed providers
2025-12-09 11:18:11 +02:00
Hein
229ee4fb28
Fixed DatabaseAuthenticator sq select
2025-12-09 11:05:48 +02:00
Hein
2cf760b979
Added a few auth shortcuts
2025-12-09 10:31:08 +02:00
Hein
4e2fe33b77
Fixed session_rid in funcspec
2025-12-09 10:04:39 +02:00
Hein
c9eaf84125
A lot more tests
2025-12-08 16:56:48 +02:00
Hein
b741958895
Code sanity fixes, added middlewares
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-08 08:28:43 +02:00
Hein
eaf1133575
Fixed security rules not loading
2025-12-02 16:55:12 +02:00
Hein
8172c0495d
More generic security solution.
2025-12-02 16:35:08 +02:00
Hein
9c5c7689e9
More common handler interface
2025-12-02 15:45:24 +02:00
Hein
08050c960d
Optional Authentication
2025-12-02 14:14:38 +02:00
Hein
78029fb34f
Fixed formatting issues
Tests / Run Tests (1.23.x) (push) Has been cancelled
Tests / Run Tests (1.24.x) (push) Has been cancelled
Tests / Lint Code (push) Has been cancelled
Tests / Build (push) Has been cancelled
2025-12-01 14:56:30 +02:00
Hein
e32ec9e17e
Updated the security package
2025-11-24 17:00:05 +02:00
Hein
ecd7b31910
Fixed linting issues
2025-11-11 11:32:30 +02:00
Hein
682716dd31
Linting fixes
2025-11-11 11:03:02 +02:00
Hein
ceaa251301
Updated logging, added getRowNumber and a few more
2025-11-10 17:02:37 +02:00