Skip to content

Commit

Permalink
Merge branch 'main' into tobbe-clerk-simplify-web-impl
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Oct 14, 2022
2 parents 3701e8d + 60e075f commit 2a0971d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/docs/tutorial/chapter6/comment-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const CommentForm = () => {
</Label>
<TextField
name="name"
className="block w-full p-1 border rounded text-xs "
className="block w-full p-1 border rounded text-xs"
validation={{ required: true }}
/>

Expand Down
2 changes: 2 additions & 0 deletions packages/auth-providers-setup/src/clerk/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export const handler = async ({ rwVersion, force: forceArg }: Args) => {
basedir: __dirname,
rwVersion,
forceArg,
authDecoderImport:
"import { clerkAuthDecoder as authDecoder } from '@redwoodjs/auth-providers-api'",
provider: 'clerk',
webPackages: ['@clerk/clerk-react', '@redwoodjs/auth-providers-web'],
apiPackages: ['@clerk/clerk-sdk-node', '@redwoodjs/auth-providers-api'],
Expand Down
8 changes: 5 additions & 3 deletions packages/auth-providers-setup/src/firebase/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@ export const handler = async ({ rwVersion, force: forceArg }: Args) => {
rwVersion,
forceArg,
provider: 'firebase',
webPackages: ['firebase'],
apiPackages: ['firebase-admin'],
authDecoderImport:
"import { firebaseAuthDecoder as authDecoder } from '@redwoodjs/auth-providers-api'",
webPackages: ['firebase', '@redwoodjs/auth-providers-web'],
apiPackages: ['firebase-admin', '@redwoodjs/auth-providers-api'],
notes: [
'You will need to create several environment variables with your Firebase config options.',
'Check out web/src/App.{js,tsx} for the variables you need to add.',
'Check out web/src/auth.{js,ts} for the variables you need to add.',
'See: https://firebase.google.com/docs/web/setup#config-object',
],
})
Expand Down

0 comments on commit 2a0971d

Please sign in to comment.