Arif
BABetter Auth
•Created by Arif on 4/2/2025 in #help
Dynamically create Role and Permission.
Can anyone tell how to create role and permissions programatically? Such as from admin dashboard. In the doc, it shows how to create access controller and pass it to auth configuration
But if I want to create these role from admin dashboard along with permissions, how do I do it?
11 replies
BABetter Auth
•Created by Arif on 4/1/2025 in #help
Social login Account creation with additional field
How to pass additional state during a social provider sign-in (e.g., Google). When a new user signs up with say for example Google, I want to store an extra field in the database, like { "a": "123" }, alongside the default user data. How can I pass this custom data from the client and handle it on the server to save it in the DB?
10 replies