Skip to content

Commit

Permalink
feat: add kakao to sign in with ID token (#845)
Browse files Browse the repository at this point in the history
Adds the `kakao` string to the supported `signInWithIdToken` types.

Merge after: supabase/auth#1381
  • Loading branch information
hf authored Aug 26, 2024
1 parent db41710 commit e2337ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@ export type SignInWithOAuthCredentials = {
}

export type SignInWithIdTokenCredentials = {
/** Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `keycloak` (deprecated). */
provider: 'google' | 'apple' | 'azure' | 'facebook' | string
/** Provider name or OIDC `iss` value identifying which provider should be used to verify the provided token. Supported names: `google`, `apple`, `azure`, `facebook`, `kakao`, `keycloak` (deprecated). */
provider: 'google' | 'apple' | 'azure' | 'facebook' | 'kakao' | string
/** OIDC ID token issued by the specified provider. The `iss` claim in the ID token must match the supplied provider. Some ID tokens contain an `at_hash` which require that you provide an `access_token` value to be accepted properly. If the token contains a `nonce` claim you must supply the nonce used to obtain the ID token. */
token: string
/** If the ID token contains an `at_hash` claim, then the hash of this value is compared to the value in the ID token. */
Expand Down

0 comments on commit e2337ba

Please sign in to comment.