-
Notifications
You must be signed in to change notification settings - Fork 0
fix: use always logto_id as entity reference #38
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
|
🔗 Redirect URIs Added to Logto The following redirect URIs have been automatically added to the Logto application configuration: Redirect URIs:
Post-logout redirect URIs:
These will be automatically removed when the PR is closed or merged. |
ℹ️ My API content change detectedNo structural change, nothing to display. Powered by Bump.sh |
|
| Method | Endpoint | Change |
|---|---|---|
GET |
/api/users/:id |
:id = logto_id |
PUT |
/api/users/:id |
:id = logto_id |
DELETE |
/api/users/:id |
:id = logto_id |
PATCH |
/api/users/:id/password |
:id = logto_id |
PATCH |
/api/users/:id/suspend |
:id = logto_id |
PATCH |
/api/users/:id/reactivate |
:id = logto_id |
Distributors
| Method | Endpoint | Change |
|---|---|---|
GET |
/api/distributors/:id |
:id = logto_id |
PUT |
/api/distributors/:id |
:id = logto_id |
DELETE |
/api/distributors/:id |
:id = logto_id |
GET |
/api/distributors/:id/stats |
:id = logto_id |
PATCH |
/api/distributors/:id/suspend |
:id = logto_id |
PATCH |
/api/distributors/:id/reactivate |
:id = logto_id |
Resellers
| Method | Endpoint | Change |
|---|---|---|
GET |
/api/resellers/:id |
:id = logto_id |
PUT |
/api/resellers/:id |
:id = logto_id |
DELETE |
/api/resellers/:id |
:id = logto_id |
GET |
/api/resellers/:id/stats |
:id = logto_id |
PATCH |
/api/resellers/:id/suspend |
:id = logto_id |
PATCH |
/api/resellers/:id/reactivate |
:id = logto_id |
Customers
| Method | Endpoint | Change |
|---|---|---|
GET |
/api/customers/:id |
:id = logto_id |
PUT |
/api/customers/:id |
:id = logto_id |
DELETE |
/api/customers/:id |
:id = logto_id |
GET |
/api/customers/:id/stats |
:id = logto_id |
PATCH |
/api/customers/:id/suspend |
:id = logto_id |
PATCH |
/api/customers/:id/reactivate |
:id = logto_id |
Impersonation
| Method | Endpoint | Change |
|---|---|---|
POST |
/api/impersonate |
user_id in request body = logto_id |
What does NOT change
GET/POST /api/systems/:id/*→ still database UUID (systems have no logto_id)GET/PATCH /api/applications/:id/*→ still database UUID- List APIs (
GET /api/users,GET /api/distributors, etc.) → unchanged, responses still return bothidandlogto_id - Self-service (
/api/auth/me/*) → unchanged (uses JWT context)
In practice for the frontend
Where you previously used entity.id to build the URL, now use entity.logto_id for users, distributors, resellers and customers.
bf04a35 to
749395b
Compare
749395b to
87b5a38
Compare
|
🗑️ Redirect URIs Removed from Logto The following redirect URIs have been automatically removed from the Logto application configuration: Redirect URIs:
Post-logout redirect URIs:
Cleanup completed for PR #38. |
📋 Description
Briefly describe what this PR does and why it's needed.
🚀 Testing Environment
To trigger a fresh deployment of all services in the PR preview environment, comment:
Automatic PR environments:
✅ Merge Checklist
Code Quality:
Builds: