We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The API endpoint for linking social identities shows inconsistencies between documentation and implementation:
PATCH /api/my-account/identities
Allow: POST
verification_record.permission_denied
This makes it impossible to complete the social connection linking flow.
Either:
POST /api/verifications/social Authorization: Bearer <token> { "connectorId": "github", "redirectUri": "http://localhost:3000/callback/github", "state": "asdfassdfafasd" }
→ Returns 201 with verification record ID
Complete GitHub OAuth flow and receive callback code
Verify the social connection:
POST /api/verifications/social/verify Authorization: Bearer <token> { "connectorData": { "code": "<auth_code>", "state": "asdfassdfafasd" }, "verificationRecordId": "<record_id>" }
→ Returns 200 OK
PATCH /api/my-account/identities Authorization: Bearer <token> logto-verification-id: <record_id> { "newIdentifierVerificationRecordId": "<record_id>" }
→ Returns 405 Method Not Allowed
POST /api/my-account/identities Authorization: Bearer <token> logto-verification-id: <record_id> { "newIdentifierVerificationRecordId": "<record_id>" }
→ Returns 401 Unauthorized (verification_record.permission_denied)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The API endpoint for linking social identities shows inconsistencies between documentation and implementation:
PATCH /api/my-account/identities
Allow: POST
header and 405 Method Not Allowed for PATCHverification_record.permission_denied
This makes it impossible to complete the social connection linking flow.
Expected behavior
Either:
How to reproduce?
→ Returns 201 with verification record ID
Complete GitHub OAuth flow and receive callback code
Verify the social connection:
→ Returns 200 OK
→ Returns 405 Method Not Allowed
→ Returns 401 Unauthorized (verification_record.permission_denied)
Context
The text was updated successfully, but these errors were encountered: