Skip to content

Commit 871f774

Browse files
committed
Update readme #2
1 parent b8632a4 commit 871f774

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ npm run docker:up
3636

3737
### Running locally with an existing Metabase instance
3838

39-
Before running, ensure your Metabase instance is configured following the [guest embedding setup guide](https://www.metabase.com/docs/latest/embedding/guest-embedding) and [SSO authentication guide](https://www.metabase.com/docs/latest/embedding/authentication).
39+
Before running, ensure your Metabase instance is configured following the [guest embedding setup guide](https://www.metabase.com/docs/latest/embedding/guest-embedding) and [SSO authentication guide](https://www.metabase.com/docs/latest/embedding/authentication). You can leave the [JWT Identity Provider](https://www.metabase.com/docs/latest/people-and-groups/authenticating-with-jwt#set-up-jwt-authentication) URI blank or set it to `http://localhost:3100/auth/sso`.
4040

4141
1. Copy the environment file:
4242

@@ -89,7 +89,7 @@ const token = jwt.sign(payload, MB_EMBEDDING_SECRET_KEY);
8989
<script>
9090
defineMetabaseConfig({
9191
isGuest: true,
92-
instanceUrl: "http://localhost:4300",
92+
instanceUrl: "http://localhost:3000",
9393
});
9494
</script>
9595
```
@@ -120,8 +120,8 @@ res.json({ jwt: ssoToken });
120120

121121
<script>
122122
defineMetabaseConfig({
123-
instanceUrl: "http://localhost:4300",
124-
jwtProviderUri: "http://localhost:4400/auth/sso",
123+
instanceUrl: "http://localhost:3000",
124+
jwtProviderUri: "http://localhost:3100/auth/sso",
125125
});
126126
</script>
127127
```

0 commit comments

Comments
 (0)