Skip to content

Commit

Permalink
deployment conflict solved
Browse files Browse the repository at this point in the history
  • Loading branch information
mateosauton committed Dec 20, 2024
1 parent d5c0c11 commit 19ea93a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/pages/world-id/sign-in/pitfalls.mdx
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
# Sign In with World ID Common Pitfalls

<br/>
<br />

## Invalid Redirect URI

Ensure you've added your application's sign in callback URL to the list of allowed Redirect URIs in the Developer Portal.

<Note>Redirect URIs using `http`, `localhost`, or port numbers are only allowed for Staging applications.</Note>

```{{ title: 'Redirect URI Example' }}
https://example.com/path/to/auth/calback/worldcoin
### Redirect URI Example

```tsx
https://example.com/path/to/auth/callback/worldcoin
```

## Unauthenticated Errors

Ensure your Client ID and Client Secret are properly set in your environment variables according to your authentication library's documentation.

<Note>The Client Secret should never be exposed in client-side code. If accidentally committed to your codebase, you should rotate the client secret in the Developer Portal.</Note>
<Note>
The Client Secret should never be exposed in client-side code. If accidentally committed to your codebase, you
should rotate the client secret in the Developer Portal.
</Note>

0 comments on commit 19ea93a

Please sign in to comment.