DEV Community

Cathy Lai
Cathy Lai

Posted on

Login with Google on an iPhone (Local Metro server + Dev Build) - Part 3/7: Add the Clerk API Key

Clerk API Key

Now we will find the Clerk API Key and add it to our env.ts file:

  • Configure -> API Keys

  • Find "Expo" and Copy it

  • Paste it to our env.ts

export const EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY = [your key here] as const;
Enter fullscreen mode Exit fullscreen mode

So, now from Part 1 - 3 we have

  • Connected our app with Clerk (via API Key)
  • Told it where to forward the Login results to (via Redirect URL) Part 2
  • The Redirect URL includes a [scheme] which told iOS to forward the results to our app (matches to the "scheme" in our app.json)Part 2
  • Next, we will configure the Google Cloud Console!

Top comments (0)