laventur
WWasp-lang
•Created by laventur on 6/14/2024 in #đŸ™‹questions
Network Error when adding authentication to todo app
I followed the tutorial here: https://wasp-lang.dev/docs/tutorial/auth
10 replies
WWasp-lang
•Created by laventur on 6/14/2024 in #đŸ™‹questions
Network Error when adding authentication to todo app
Hi! yes sure!
I'll just sen you this:
app TodoApp {
wasp: {
version: "^0.13.0"
},
title: "TodoApp",
auth: {
// Tells Wasp which entity to use for storing users.
userEntity: User,
methods: {
// Enable username and password auth.
usernameAndPassword: {}
},
// We'll see how this is used in a bit.
onAuthFailedRedirectTo: "/login"
}
}
10 replies
WWasp-lang
•Created by laventur on 6/14/2024 in #đŸ™‹questions
Network Error when adding authentication to todo app
yes that would be great thank you!
10 replies