Skip to content

Commit 45a4889

Browse files
committed
npm run fix:tables
1 parent 5629370 commit 45a4889

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -236,24 +236,24 @@ It is suggested that these provisional tokens are not stored and instead invoke
236236

237237
Common error codes and solutions for the server token exchange methods:
238238

239-
| Code | Meaning | Solution |
240-
|--------|-----------------------------------|-----------------------------------------------------------------------------|
241-
| 530000 | Application not configured | Contact Discord support to enable provisional accounts for your application |
242-
| 530001 | Expired ID token | Request a new token from your identity provider |
243-
| 530004 | Token too old | Request a new token (tokens over 1 week old are rejected) |
244-
| 530006 | Username generation failed | Retry the operation (temporary error) |
245-
| 530007 | Invalid client secret | Verify or regenerate your client secret in the Developer Portal |
246-
| 530010 | User account non-provisional | User already linked to Discord account - use standard OAuth2 flow |
239+
| Code | Meaning | Solution |
240+
|--------|------------------------------|-----------------------------------------------------------------------------|
241+
| 530000 | Application not configured | Contact Discord support to enable provisional accounts for your application |
242+
| 530001 | Expired ID token | Request a new token from your identity provider |
243+
| 530004 | Token too old | Request a new token (tokens over 1 week old are rejected) |
244+
| 530006 | Username generation failed | Retry the operation (temporary error) |
245+
| 530007 | Invalid client secret | Verify or regenerate your client secret in the Developer Portal |
246+
| 530010 | User account non-provisional | User already linked to Discord account - use standard OAuth2 flow |
247247

248248
If you are using OIDC, you may encounter more specific errors:
249249

250-
| Code | Meaning | Solution |
251-
|--------|-----------------------------------|-----------------------------------------------------------------------------|
252-
| 530002 | Invalid issuer | Verify the issuer in your ID token matches your configuration |
253-
| 530003 | Invalid audience | Check that the audience in your ID token matches your OIDC configuration |
254-
| 530008 | OIDC configuration not found | Verify your OIDC issuer URL is configured and accessible |
255-
| 530009 | OIDC JWKS not found | Check that your OIDC provider's JWKS endpoint is accessible |
256-
| 530020 | Invalid OIDC JWT token | Ensure your OIDC ID token is properly signed and formatted |
250+
| Code | Meaning | Solution |
251+
|--------|------------------------------|--------------------------------------------------------------------------|
252+
| 530002 | Invalid issuer | Verify the issuer in your ID token matches your configuration |
253+
| 530003 | Invalid audience | Check that the audience in your ID token matches your OIDC configuration |
254+
| 530008 | OIDC configuration not found | Verify your OIDC issuer URL is configured and accessible |
255+
| 530009 | OIDC JWKS not found | Check that your OIDC provider's JWKS endpoint is accessible |
256+
| 530020 | Invalid OIDC JWT token | Ensure your OIDC ID token is properly signed and formatted |
257257

258258
You can find you OIDC configuration by visiting the [Developer Portal](https://discord.com/developers/applications), selecting your application, and opening the `External Auth` page under the `Discord Social SDK` section in the sidebar.
259259

@@ -434,13 +434,13 @@ This migration ensures users don't lose their social connections built while usi
434434
435435
You may receive a merge specific error code while attempting this operation:
436436
437-
| Code | HTTP Status | Meaning | Solution |
438-
|--------|-------------|--------------------------------------------|--------------------------------------------------------------------------- |
439-
| 530014 | 400 | Invalid merge source | The source account is not provisional |
440-
| 530016 | 400 | Invalid merge destination | The destination account is provisional |
441-
| 530017 | 400 | Merge source user banned | The provisional account being merged is banned from platform |
442-
| 530023 | 400 | Too many application identities | User already has an associated external identity for this application |
443-
| - | 423 | Resource locked | Transient error, wait and retry |
437+
| Code | HTTP Status | Meaning | Solution |
438+
|--------|-------------|---------------------------------|-----------------------------------------------------------------------|
439+
| 530014 | 400 | Invalid merge source | The source account is not provisional |
440+
| 530016 | 400 | Invalid merge destination | The destination account is provisional |
441+
| 530017 | 400 | Merge source user banned | The provisional account being merged is banned from platform |
442+
| 530023 | 400 | Too many application identities | User already has an associated external identity for this application |
443+
| - | 423 | Resource locked | Transient error, wait and retry |
444444
445445
---
446446

0 commit comments

Comments
 (0)