mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
add google-setup to google-client id modal
This commit is contained in:
parent
1aaa413828
commit
131e5521d0
2 changed files with 23 additions and 8 deletions
|
|
@ -11,6 +11,9 @@ import {
|
|||
import { Button } from "@/components/ui/button"
|
||||
import { Input } from "@/components/ui/input"
|
||||
|
||||
const GOOGLE_CLIENT_ID_SETUP_GUIDE_URL =
|
||||
"https://github.com/rowboatlabs/rowboat/blob/main/google-setup.md"
|
||||
|
||||
interface GoogleClientIdModalProps {
|
||||
open: boolean
|
||||
onOpenChange: (open: boolean) => void
|
||||
|
|
@ -53,6 +56,18 @@ export function GoogleClientIdModal({
|
|||
<label className="text-xs font-medium text-muted-foreground" htmlFor="google-client-id">
|
||||
Client ID
|
||||
</label>
|
||||
<div className="text-xs text-muted-foreground">
|
||||
Need help setting this up?{" "}
|
||||
<a
|
||||
className="text-primary underline underline-offset-4 hover:text-primary/80"
|
||||
href={GOOGLE_CLIENT_ID_SETUP_GUIDE_URL}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Read the setup guide
|
||||
</a>
|
||||
.
|
||||
</div>
|
||||
<Input
|
||||
id="google-client-id"
|
||||
placeholder="xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Go to:
|
|||
|
||||
https://console.cloud.google.com/
|
||||
|
||||
Make sure you’re logged into the Google account you want to use.
|
||||
Make sure you're logged into the Google account you want to use.
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -26,7 +26,7 @@ https://console.cloud.google.com/projectcreate
|
|||
|
||||
Once created, make sure the new project is selected in the top project dropdown.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ For each API:
|
|||
|
||||
- Click **Enable**
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
---
|
||||
|
|
@ -79,7 +79,7 @@ Click **Save and Continue** through the remaining steps.
|
|||
|
||||
You do NOT need to publish the app — keeping it in **Testing** mode is fine.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ Under **Test Users**:
|
|||
|
||||
Save changes.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -120,7 +120,7 @@ Select:
|
|||
- Store ID can be anything (e.g. `test` )
|
||||
- Click **Create**
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
|
||||
|
|
@ -133,6 +133,6 @@ After creation, Google will show:
|
|||
|
||||
Copy the **Client ID** and paste it into Rowboat where prompted.
|
||||
|
||||

|
||||

|
||||
|
||||
---
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue