kaas
kaas
BABetter Auth
Created by kaas on 3/28/2025 in #help
oidc provider - Change issuer?
This was possible. But getting this error after auth Get nonce: Response was of incompatible type - TypeError: "Response type not string compatible." (response was nil)
3 replies
BABetter Auth
Created by darc on 3/19/2025 in #help
On-boarding step after social login
Its probably not the most effecient way ,however, we have around 1000 active users on at a time and it works
5 replies
BABetter Auth
Created by darc on 3/19/2025 in #help
On-boarding step after social login
While this might not be the best way, we check in the middleware 1. Does a session exist? 2. Is the session "onboarded". its a value we put onto the session. Its either 0/1.. If its 0, the user is sent to onboarding. If its 1, the check stops there
5 replies
BABetter Auth
Created by bwhitney on 2/21/2025 in #help
Soft Delete Organisations
I would honestly just move it to a different table instead of doing that So like call it inactive orgs, and move the entire entry over there.
4 replies
BABetter Auth
Created by Allan on 3/10/2025 in #help
How to store custom data in session?
9 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
But that would still require me to do custom logic on each route - So the user should query with the ord id. I think having seperate API keys for seperate orgs is the correct way to do it in my workflow
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
My current implementation does this When the user hits the use org, it adds the "activeorg" to the session, and all backend logic just checks what the users activeorg is, as they should't be able to change this other then to what orgs they have access to.
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
I assume I'd need to implement logic checking the api key for this
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
So just include the orgid in the metadata - Then the API key is "only" for that org id. That would work .
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
metadata for the api key?
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
Pretty sure I am the issue just looking for a general solution
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
My issue is the way i've done it now, users can "escape" and just query data for all orgs.
15 replies
BABetter Auth
Created by kaas on 3/2/2025 in #help
API key plugin - Orgs?
Yes - But more if the user is assigned to multiple orgs
15 replies
BABetter Auth
Created by kaas on 2/22/2025 in #help
Microsoft login
If theres any particular tables I need to check in prisma?
11 replies
BABetter Auth
Created by kaas on 2/22/2025 in #help
Microsoft login
Version that was pushed due to CVE
11 replies
BABetter Auth
Created by kaas on 2/22/2025 in #help
Microsoft login
Enabled debug. Nothing
2025-02-22T12:23:51.194Z ERROR [Better Auth]: TypeError [TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}
GET /api/auth/callback/microsoft?code=1.AS8AZLYeYmMUCE-FrwyfEeeCq6LSfqpKOFBBkdTaVsYzuHXlABMvAA.AgABBAIAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P-uS1a6XRFd0Dfr3wwUNJZwmvuKZJmy5wlC7LQkgJMhiO6lkE2zj5nl5MzWcH3pmF2qeHfL1Tx3FdfBum3Ad2Zv4XNg_PRgHb3J8nLYayvi1WoatEpPusBent04dbnhfe
2025-02-22T12:23:51.194Z ERROR [Better Auth]: TypeError [TypeError: The "payload" argument must be of type object. Received null] {
code: 'ERR_INVALID_ARG_TYPE'
}
GET /api/auth/callback/microsoft?code=1.AS8AZLYeYmMUCE-FrwyfEeeCq6LSfqpKOFBBkdTaVsYzuHXlABMvAA.AgABBAIAAABVrSpeuWamRam2jAF1XRQEAwDs_wUA9P-uS1a6XRFd0Dfr3wwUNJZwmvuKZJmy5wlC7LQkgJMhiO6lkE2zj5nl5MzWcH3pmF2qeHfL1Tx3FdfBum3Ad2Zv4XNg_PRgHb3J8nLYayvi1WoatEpPusBent04dbnhfe
11 replies
BABetter Auth
Created by kaas on 2/22/2025 in #help
Microsoft login
Thats just weird! I just bumped the version + did generate
11 replies
BABetter Auth
Created by kaas on 2/12/2025 in #bug-reports
Session stealing?
This might be a local issue So I wont report this further
13 replies
BABetter Auth
Created by kaas on 2/12/2025 in #bug-reports
Session stealing?
Different browsers.
13 replies