-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5c0c11
commit 19ea93a
Showing
1 changed file
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |