-
Notifications
You must be signed in to change notification settings - Fork 5
add Embedded Wallet OAUTH credential create #360
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
Open
DhruvPareek
wants to merge
1
commit into
04-20-feat_sign_embedded_wallet_transfers_with_grid-wallet-signature_on__quotes_execute
Choose a base branch
from
04-21-feat_add_oauth_branch_to_auth_credential_create
base: 04-20-feat_sign_embedded_wallet_transfers_with_grid-wallet-signature_on__quotes_execute
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
openapi/components/schemas/auth/AuthCredentialCreateRequestOneOf.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| oneOf: | ||
| - $ref: ./EmailOtpCredentialCreateRequest.yaml | ||
| - $ref: ./OauthCredentialCreateRequest.yaml | ||
| discriminator: | ||
| propertyName: type | ||
| mapping: | ||
| EMAIL_OTP: ./EmailOtpCredentialCreateRequest.yaml | ||
| OAUTH: ./OauthCredentialCreateRequest.yaml |
4 changes: 4 additions & 0 deletions
4
openapi/components/schemas/auth/OauthCredentialCreateRequest.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| title: OAuth Credential Create Request | ||
| allOf: | ||
| - $ref: ./AuthCredentialCreateRequest.yaml | ||
| - $ref: ./OauthCredentialCreateRequestFields.yaml |
19 changes: 19 additions & 0 deletions
19
openapi/components/schemas/auth/OauthCredentialCreateRequestFields.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| type: object | ||
| required: | ||
| - type | ||
| - oidcToken | ||
| properties: | ||
| type: | ||
| type: string | ||
| enum: | ||
| - OAUTH | ||
| description: Discriminator value identifying this as an OAuth credential. | ||
| oidcToken: | ||
| type: string | ||
| description: >- | ||
| OIDC ID token issued by the identity provider (e.g. Google, Apple). | ||
| Grid fetches the issuer's signing key from the `iss` claim's | ||
| `.well-known` OpenID configuration and verifies the token signature. | ||
| The token's `iat` claim must be less than 60 seconds before the | ||
| request timestamp. | ||
| example: eyJhbGciOiJSUzI1NiIsImtpZCI6ImFiYzEyMyIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJzdWIiOiIxMTIyMzM0NDU1IiwiYXVkIjoiMTIzNDU2Ny5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImVtYWlsIjoidXNlckBleGFtcGxlLmNvbSIsImlhdCI6MTc0NjczNjUwOSwiZXhwIjoxNzQ2NzQwMTA5fQ.signature |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.