-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
@@ -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 |
There was a problem hiding this comment.
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
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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:
|
### **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. |
There was a problem hiding this comment.
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
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.