shy-fish-88756
06/05/2023, 2:57 PMMethod Not Allowed
I can start a new flow at GET http://127.0.0.1:4433/self-service/recovery/api
{
"id": "06db2b3b-cc6b-413c-995e-72d64846e131",
"type": "api",
"expires_at": "2023-06-05T15:06:36.577294041Z",
"issued_at": "2023-06-05T14:06:36.577294041Z",
"request_url": "<http://127.0.0.1:4433/self-service/recovery/api>",
"active": "code",
When I try to select "method: code" through POST http://127.0.0.1:4433/self-service/recoveryapi?flow=<flow-id> with body
{
"email": "<mailto:email@example.com|email@example.com>",
"method": "code"
}
I get the Method Not Allowed
What am I doing wrong?dazzling-napkin-4938
06/05/2023, 10:25 PMdazzling-napkin-4938
06/05/2023, 10:26 PMshy-fish-88756
06/06/2023, 6:30 AMshy-fish-88756
06/06/2023, 6:43 AMshy-fish-88756
06/06/2023, 6:45 AMbland-eye-99092
06/06/2023, 6:47 AMshy-fish-88756
06/06/2023, 6:47 AMvictorious-baker-16631
06/06/2023, 8:16 AMshy-fish-88756
06/06/2023, 10:32 AM{
"error": {
"id": "browser_location_change_required",
"code": 422,
"status": "Unprocessable Entity",
"reason": "In order to complete this flow please redirect the browser to: /settings?flow=17aee486-1ecd-4f30-a5ae-07a5046c614e",
"message": "browser location change required"
},
"redirect_browser_to": "/settings?flow=17aee486-1ecd-4f30-a5ae-07a5046c614e"
}
But I can't open on my computer browser localhost:4433/settings?flow=17aee486-1ecd-4f30-a5ae-07a5046c614e
nor <http://localhost:4434/admin/settings?flow=17aee486-1ecd-4f30-a5ae-07a5046c614e>
Both return Error 404. I probably need some session token.shy-fish-88756
06/06/2023, 10:36 AMwe can't get theendpoint to return aPOST /self-service/recovery
. It's instead returning asession token
.session cookie
[...]
We have to keep theIs that also your solution?around on mobile for the subsequent /settings requests to change the users password, and then re-login to return to using asession cookie
.session token
dazzling-napkin-4938
06/06/2023, 11:56 PMdazzling-napkin-4938
06/06/2023, 11:56 PMdazzling-napkin-4938
06/06/2023, 11:57 PMshy-fish-88756
06/07/2023, 6:19 AM