Delete OIDC credential resulting "You can't remove first factor credentials." #4289
-
|
I'm implementing a dashboard that enables admins to unlink an associated social sign in (made by the user through Tried using the endpoint Is it not possible to implement OIDC remotion by this way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
|
Hey @luanfrv9 Could you provide a simple reproducible test case, maybe in a repo that I could clone to confirm? Alternatively you could maybe start a settings flow on behalf of the user to unlink a social sign-in |
Beta Was this translation helpful? Give feedback.
-
|
@vinckr thanks for your attention! cheers |
Beta Was this translation helpful? Give feedback.
-
|
Hi team! In the latest stable version as of this day ( Here's the credentials configuration: "credentials": {
"code": {
"type": "code",
"identifiers": [
"test@test.com"
],
"version": 1,
"created_at": "2025-11-13T20:49:24.301748Z",
"updated_at": "2025-11-13T20:49:24.301748Z"
},
"oidc": {
"type": "oidc",
"identifiers": [
"google:106492765437156840313"
],
"version": 0,
"created_at": "2025-11-13T20:49:27.508603Z",
"updated_at": "2025-11-13T20:49:27.508603Z"
},
"password": {
"type": "password",
"identifiers": [
"test@test.com"
],
"config": {
"hashed_password": "",
"use_password_migration_hook": true
},
"version": 0,
"created_at": "2025-11-13T20:49:24.301727Z",
"updated_at": "2025-11-13T20:49:24.301727Z"
},
"webauthn": {
"type": "webauthn",
"identifiers": [
"test@test.com"
],
"version": 1,
"created_at": "2025-11-13T20:49:24.301739Z",
"updated_at": "2025-11-13T20:49:24.301739Z"
}
} |
Beta Was this translation helpful? Give feedback.
This should work, are you sure the password migration is active and configured in your configuration?