Skip to content
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

[Fix]: Add back webAuthn export path #6903

Merged
merged 1 commit into from
Nov 16, 2022
Merged

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Nov 15, 2022

If you set up dbAuth with webAuthn, the web/src/auth.ts file looks like:

import { createDbAuth } from '@redwoodjs/auth-providers-web'
import WebAuthnClient from '@redwoodjs/auth-providers-web/webAuthn'

export const { AuthProvider, useAuth } = createDbAuth(WebAuthnClient)

Right now the import on line 2 errors out because there's no directory structure for it. There used to be in the old implementation (see the links below). This PR adds it back.

@jtoar jtoar requested a review from Tobbe November 15, 2022 22:23
@jtoar jtoar changed the title fix: add back webAuthn export path [Fix]: Add back webAuthn export path Nov 15, 2022
@jtoar jtoar self-assigned this Nov 15, 2022
@jtoar jtoar added the release:fix This PR is a fix label Nov 15, 2022
@Tobbe Tobbe merged commit 97c36e1 into main Nov 16, 2022
@Tobbe Tobbe deleted the ds-add-back-webAuthn-export-path branch November 16, 2022 18:30
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Nov 16, 2022
@redwoodjs-bot
Copy link

redwoodjs-bot bot commented Nov 16, 2022

🔔 @jtoar, @Tobbe—I couldn't cherry pick this one. If you want it in the next release, you'll have to cherry pick it manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix This PR is a fix
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants