Skip to content

Commit

Permalink
fix base provider relay body
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Long committed Jul 14, 2023
1 parent 0981427 commit 2e10072
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lit-auth-client/src/lib/providers/BaseProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ export abstract class BaseProvider {
return authMethod.accessToken; // Auth data is a JSON string
case AuthMethodType.OTP:
return JSON.stringify(authMethod);
case AuthMethodType.StytchOtp:
return JSON.stringify(authMethod);
default:
throw new Error(
`Invalid auth method type "${authMethod.authMethodType}" passed`
Expand Down

1 comment on commit 2e10072

@vercel
Copy link

@vercel vercel bot commented on 2e10072 Jul 14, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.