Back End Register Details #13
Labels
No labels
bugfix
dependencies
documentation
error
feature
hotfix
javascript
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Doble/Tones#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Back End connection is established to the Database to allow users to Register. Similar to the Login Page, ALL Information should be sent to the Back End Encrypted and decrypted to be sent into the DB, password different.
Achieved with PocketBase, closed task.
can I connect pocketbase to an existing spring boot crud api, and use pocketbase for the auth login and spring boot crud api for the data
Yes, you can integrate PocketBase authentication with an existing Spring Boot CRUD API. Here's how to achieve this:
Key Integration Strategy
PocketBase will handle user authentication and JWT issuance, while Spring Boot validates these tokens and processes CRUD operations. The flow works as:
Implementation Steps
1. PocketBase Configuration
2. Spring Boot JWT Validation
Use one of these methods to verify PocketBase tokens:
Method A: Direct JWT Validation
Method B: API Validation (No Shared Secret)
3. Spring Security Configuration
Data Relationship Management
Advantages and Considerations
Best Practices
This architecture lets you leverage PocketBase's robust authentication system while maintaining full control over business logic and data management in Spring Boot.