Skip to content

Commit d5cf04d

Browse files
Add Web Callback/Logout URL Configuration to React Native Web Setup Guide (#1250)
1 parent 2ca550e commit d5cf04d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

REACT_NATIVE_WEB_SETUP.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,26 @@ yarn add @auth0/auth0-spa-js
3333

3434
Once React Native Web and Auth0 SPA JS are installed, you can use React Native Auth0 exactly as you would in a native React Native app. The library will automatically detect the web platform and use the appropriate implementation.
3535

36+
---
37+
38+
## 🔁 Web Callback and Logout URL Setup
39+
40+
When running on Web—especially with **Expo** or custom Webpack servers—you must configure **callback** and **logout URLs** in your [Auth0 Application settings](https://manage.auth0.com/#/applications):
41+
42+
### ✅ For local development (Expo or Metro)
43+
44+
Add the following URLs:
45+
46+
* **Allowed Callback URLs**:
47+
`http://localhost:8081`
48+
49+
* **Allowed Logout URLs**:
50+
`http://localhost:8081`
51+
52+
> ⚠️ If you've customized your Webpack Dev Server port (e.g., `3000`), replace `8081` accordingly.
53+
54+
---
55+
3656
## Example Usage
3757

3858
```jsx

0 commit comments

Comments
 (0)