Isthiyaaq
Isthiyaaq
BABetter Auth
Created by Isthiyaaq on 4/24/2025 in #help
Better Auth Not Respecting OIDC Discovery Document Endpoints with IdentityServer4
i tried with discoveryUrl, same thing.
4 replies
BABetter Auth
Created by Isthiyaaq on 4/24/2025 in #help
Better Auth Not Respecting OIDC Discovery Document Endpoints with IdentityServer4
{
"response": {
"type": "default",
"status": 200,
"ok": true,
"statusText": "",
"headers": {
"map": {
"cache-control": "no-cache",
"content-type": "text/html; charset=utf-8",
"date": "Thu, 24 Apr 2025 10:15:41 GMT",
"server": "cloudflare",
"strict-transport-security": "max-age=7776000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "1; mode=block"
}
},
"url": "https://example.egov.mv/api/auth/sign-in/oauth2",
"bodyUsed": true,
"_bodyInit": {
"_data": {
"size": 245,
"offset": 0,
"blobId": "74275C8F-398D-459B-8C94-A46D5917141B",
"type": "text/html",
"name": "oauth2.html"
}
}
},
"request": {
"baseURL": "https://example.egov.mv/api/auth",
"method": "POST",
"plugins": [
{
"id": "redirect",
"name": "Redirect",
"hooks": {}
},
{
"id": "expo",
"name": "Expo",
"hooks": {}
},
{
"id": "apply-schema",
"name": "Apply Schema",
"version": "1.0.0"
}
],
"body": "{\"providerId\":\"ids4\",\"callbackURL\":\"com.example.app:///(tabs)/(home)\",\"scopes\":[\"openid\",\"profile\",\"email\",\"offline_access\"]}",
"credentials": "omit",
"headers": {
"map": {
"cookie": "",
"expo-origin": "com.example.app://",
"content-type": "application/json"
}
},
"url": "https://example.egov.mv/api/auth/sign-in/oauth2",
"signal": {}
}
}
{
"response": {
"type": "default",
"status": 200,
"ok": true,
"statusText": "",
"headers": {
"map": {
"cache-control": "no-cache",
"content-type": "text/html; charset=utf-8",
"date": "Thu, 24 Apr 2025 10:15:41 GMT",
"server": "cloudflare",
"strict-transport-security": "max-age=7776000; includeSubDomains",
"x-content-type-options": "nosniff",
"x-frame-options": "SAMEORIGIN",
"x-xss-protection": "1; mode=block"
}
},
"url": "https://example.egov.mv/api/auth/sign-in/oauth2",
"bodyUsed": true,
"_bodyInit": {
"_data": {
"size": 245,
"offset": 0,
"blobId": "74275C8F-398D-459B-8C94-A46D5917141B",
"type": "text/html",
"name": "oauth2.html"
}
}
},
"request": {
"baseURL": "https://example.egov.mv/api/auth",
"method": "POST",
"plugins": [
{
"id": "redirect",
"name": "Redirect",
"hooks": {}
},
{
"id": "expo",
"name": "Expo",
"hooks": {}
},
{
"id": "apply-schema",
"name": "Apply Schema",
"version": "1.0.0"
}
],
"body": "{\"providerId\":\"ids4\",\"callbackURL\":\"com.example.app:///(tabs)/(home)\",\"scopes\":[\"openid\",\"profile\",\"email\",\"offline_access\"]}",
"credentials": "omit",
"headers": {
"map": {
"cookie": "",
"expo-origin": "com.example.app://",
"content-type": "application/json"
}
},
"url": "https://example.egov.mv/api/auth/sign-in/oauth2",
"signal": {}
}
}
4 replies