Skip to content

handleGoogleOAuth for sdk-react-native #591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 17, 2025
Merged

handleGoogleOAuth for sdk-react-native #591

merged 10 commits into from
Apr 17, 2025

Conversation

moeodeh3
Copy link
Contributor

@moeodeh3 moeodeh3 commented Apr 10, 2025

Summary & Motivation

How I Tested These Changes

Did you add a changeset?

If updating one of our packages, you'll likely need to add a changeset to your PR. To do so, run pnpm changeset. pnpm changeset will generate a file where you should write a human friendly message about the changes. Note how this (example) includes the package name (should be auto added by the command) along with the type of semver change (major.minor.patch) (which you should set).

These changes will be used at release time to determine what packages to publish and how to bump their version. For more context see this comment.

Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
sdk-email-auth ⬜️ Skipped (Inspect) Apr 17, 2025 8:42pm
sdk-otp-auth ⬜️ Skipped (Inspect) Apr 17, 2025 8:42pm

@@ -7,3 +7,4 @@ export enum StorageKeys {

export const OTP_AUTH_DEFAULT_EXPIRATION_SECONDS = 15 * 60;
export const MAX_SESSIONS = 15;
export const TURNKEY_OAUTH_PROXY_URL = "http://localhost:3000"; // TODO: WE NEED TO CHANGE THIS WHEN WE DEPLOY THE PROXY
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to update this before we merge

Copy link

socket-security bot commented Apr 10, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedviem@​2.21.357110010097100

View full report

Copy link

codesandbox-ci bot commented Apr 10, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 485de7e:

Sandbox Source
@turnkey/example-react-components Configuration

### **Transaction Signing**

- `signRawPayload({ signWith, payload, encoding, hashFunction })`: Signs a payload. [(API Docs)](https://docs.turnkey.com/api#tag/Signing/operation/SignRawPayload)

---

### **OAuth**

- `handleGoogleOAuth({ clientId, redirectUri, nonce, scheme, onIdToken })`: Handles the Google OAuth authentication flow.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably have in our docs a page explaining how to set this up and how this works. Then we can update with a docs link here

@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 16, 2025 21:18 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 16, 2025 21:18 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 16, 2025 21:27 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 16, 2025 21:27 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 17, 2025 14:24 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 17, 2025 14:24 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 17, 2025 14:54 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 17, 2025 14:54 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 17, 2025 15:03 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 17, 2025 15:03 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-email-auth April 17, 2025 20:42 Inactive
@vercel vercel bot temporarily deployed to Preview – sdk-otp-auth April 17, 2025 20:42 Inactive
@moeodeh3 moeodeh3 merged commit ef702dd into main Apr 17, 2025
8 checks passed
@moeodeh3 moeodeh3 deleted the moeO/oauth branch April 17, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants