quick-barista-10563
02/28/2023, 3:44 AM/self-service/login/browser
for a flowId / CSRF token
As well as to /self-service/login/flows
where I can see some input forms and a csrf token are defined
However, it's not clear to me where I would be posting this data, it seems like I need to know to redirect to somewhere at the social provider's domain (google)quick-barista-10563
02/28/2023, 4:41 AMproud-plumber-24205
02/28/2023, 11:37 AMquick-barista-10563
02/28/2023, 4:19 PMself-service/login/flows
we need to render the nodes returned to us
However, the nodes I see returned are like this:
"ui": {
"action": "<https://kratos-754c7bc7f6-fhh57:4433/self-service/login?flow=XXXXXXXXXX>",
"method": "POST",
"nodes": [
{
"type": "input",
"group": "oidc",
"attributes": {
"name": "provider",
"type": "submit",
"value": "google",
"disabled": false,
"node_type": "input"
},
"messages": [],
"meta": {
"label": {
"id": 1010002,
"text": "Sign in with google",
"type": "info",
"context": {
"provider": "google"
}
}
}
},
[... CSRF]
{
"type": "input",
"group": "oidc",
"attributes": {
"name": "provider",
"type": "submit",
"value": "google",
"disabled": false,
"node_type": "input"
},
"messages": [],
"meta": {
"label": {
"id": 1010002,
"text": "Sign in with google",
"type": "info",
"context": {
"provider": "google"
}
}
}
},
That looks to me like kratos would like me to render 2 text inputs, one for identifier
and one for password
but what I'm confused about is that it seems to be having me POST them to my k8s service hostname instead of upstream social provider:
<https://kratos-754c7bc7f6-fhh57:4433/self-service/login?flow=XXXXXXXXXX>
proud-plumber-24205
02/28/2023, 4:43 PMquick-barista-10563
02/28/2023, 5:11 PM