important-fall-74969
02/22/2022, 11:09 AMadminGetIdentity
call and passing in the id
?
We call initializeSelfServiceSettingsFlowForBrowsers
(or getSelfServiceSettingsFlow
if we have the flowId) but we can't see the credentials as part of the response.chilly-vr-43427
02/23/2022, 1:34 PMimportant-fall-74969
02/23/2022, 2:29 PMinitializeSelfServiceSettingsFlowForBrowsers
or getSelfServiceSettingsFlow
call? We get the identity back from the calls but it doesn't include the credentials
of that identity. The user is logged in so the session cookie is already set.chilly-vr-43427
02/23/2022, 2:30 PMcredentials
are what you are passing in to get the identity right?important-fall-74969
02/23/2022, 2:35 PMkratos.initializeSelfServiceSettingsFlowForBrowsers
. But we have set withCredentials
in the below configuration.
export const kratos = new V0alpha2Api(
new Configuration({
basePath: process.env.VUE_APP_ORY_KRATOS_URL || '<http://127.0.0.1:4433/>',
baseOptions: {
withCredentials: true,
},
}),
);
chilly-vr-43427
02/23/2022, 2:37 PMimportant-fall-74969
02/23/2022, 2:40 PMtoSession
(to see if the user is logged in) we should pass in the session cookie to be able to get the identity
with the credentials
included back?chilly-vr-43427
02/23/2022, 2:40 PMidentity
details for the user. What credentials are you referring about?important-fall-74969
02/23/2022, 2:42 PMoidc
or password
for example.chilly-vr-43427
02/23/2022, 2:44 PMidentity
object?important-fall-74969
02/23/2022, 3:10 PMcredentials
are part of the Identity
interface, although optional. We wanted to check them in our frontend app to see what login methods have been enabled for that user (password and/or social sign in) 🙂 but seems like it might not be possible.chilly-vr-43427
02/23/2022, 3:16 PMdamp-salesclerk-26574
02/23/2022, 3:24 PM