Troy
Troy
Explore posts from servers
BABetter Auth
Created by Troy on 3/5/2025 in #bug-reports
Limited access to webhook events
In the current structure the better-auth plugin only allows different events but not all of them for example customer.created event was excluded in the allowed events and i need it to update my database on users so can help me track user subscription state
7 replies
BABetter Auth
Created by Troy on 3/5/2025 in #help
Polar not working
I tried polar subscriptions but when i do checkout i get this error
2025-03-05T18:05:39.702Z ERROR [Better Auth]: Polar checkout creation failed. Error: Invalid URL
⨯ [Error [APIError]: Checkout creation failed] {
status: 'INTERNAL_SERVER_ERROR',
body: [Object],
headers: {},
statusCode: 500,
digest: '2697661159'
}
2025-03-05T18:05:39.702Z ERROR [Better Auth]: Polar checkout creation failed. Error: Invalid URL
⨯ [Error [APIError]: Checkout creation failed] {
status: 'INTERNAL_SERVER_ERROR',
body: [Object],
headers: {},
statusCode: 500,
digest: '2697661159'
}
but i think the polar developers have not integrated headers cause when i add headers are not being passed
export const checkout = async () => {
await auth.api.polarCheckout({
query: {
productId: "6a77ff44-8349-436a-a46b-483cc3ba9f64",
},
params: {
slug: "pro",
},
headers: await headers(),
});
};
export const checkout = async () => {
await auth.api.polarCheckout({
query: {
productId: "6a77ff44-8349-436a-a46b-483cc3ba9f64",
},
params: {
slug: "pro",
},
headers: await headers(),
});
};
13 replies
BABetter Auth
Created by Troy on 12/31/2024 in #help
Create a user without name
in my app i don't need name on registration page how can i make the field optional so whether user can use it or not ?
5 replies
BABetter Auth
Created by Troy on 12/31/2024 in #help
How to sign up/in without password
like i want to use Continue with email where user can sign up or sign in by email after getting the otp code
3 replies
FFilament
Created by Troy on 2/1/2024 in #❓┊help
How can i change the registration route name
I am building a referral system and i want to change the route of registration from
/dashboard/register
/dashboard/register
to
/auth/register?referral={id}
/auth/register?referral={id}
2 replies
FFilament
Created by Troy on 1/15/2024 in #❓┊help
2 relational table columns
No description
2 replies
FFilament
Created by Troy on 10/1/2023 in #❓┊help
Is there a custom way to manage data before being saved in filament
I have the images table and I want to save in the images table then retrieve an image id then save to post table on image column
3 replies