shahreaz
shahreaz
BABetter Auth
Created by shahreaz on 2/26/2025 in #help
(OpenAPI) How to add servers to openAPI plugin?
No description
1 replies
BABetter Auth
Created by shahreaz on 2/25/2025 in #help
[Google OAuth] No token found after successful login.
After successful login, it takes me to the given callbackURI, but there is no bearer token in the URL. Where do I get the bearer token?
4 replies
BABetter Auth
Created by shahreaz on 2/15/2025 in #help
Nested object as a users additional fields
My user schema something like this. json
{
"first_name": "...",
"address": {
"address_line_1": "...",
"city": "..."
},
"status": "...",
"leave_privileges": [
{
"type": "...",
"days": "..."
}
],
"department": {
"name": "..."
},
"employee_meta_data": {
"employee_passport": {
"upload_image": "...",
"date_of_issue": "...",
"date_of_expiry": "...",
"image": "...",
"passport_number": "..."
}
}
}
{
"first_name": "...",
"address": {
"address_line_1": "...",
"city": "..."
},
"status": "...",
"leave_privileges": [
{
"type": "...",
"days": "..."
}
],
"department": {
"name": "..."
},
"employee_meta_data": {
"employee_passport": {
"upload_image": "...",
"date_of_issue": "...",
"date_of_expiry": "...",
"image": "...",
"passport_number": "..."
}
}
}
How add this kind of data in additional fields?
6 replies
BABetter Auth
Created by shahreaz on 2/11/2025 in #help
OpenAPI doc do not update when I add additional fields in the model (custom plugin)
When I add endpoints in custom plugins the docs do change. But when I add additional fields to the model in a custom plugin like the birthday field. The doc does not update.
3 replies
BABetter Auth
Created by shahreaz on 2/11/2025 in #help
In microservice architecture how to setup jwt with refresh token mechanism?
Our system has one frontend and multiple backends, so I need jwt config. In the docs, I saw the JWT plugin. It just give the token and jwks URI endpoint. How does the refresh token mechanism work here?
8 replies