I'm working on customizing my login page and i nee...
# talk-kratos
f
I'm working on customizing my login page and i need some clarification. i've implemented the classic id+password login flow successfully, but i struggle with the OIDC part. i'm getting the flow with this url
/self-service/login/browser
it contain everything to make password flow work but nothing about all OIDC flow. I need to submit the flow with just the provider and the method of OIDC to get an error response
422 Unprocessable Entity
with a payload containing the url i should use
Copy code
{
  "error": {
    "id": "browser_location_change_required",
    "code": 422,
    "status": "Unprocessable Entity",
    "reason": "In order to complete this flow please redirect the browser to: <https://github.com/login/oauth/authorize?client_id=client_id&redirect_uri=redirect_url&response_type=code&state=state>",
    "message": "browser location change required"
  },
  "redirect_browser_to": "<https://github.com/login/oauth/authorize?client_id=client_id&redirect_uri=redirect_url&response_type=code&state=state>"
}
Is it the intended way to do the flow? The first flow request
/self-service/login/browser
should send this redirect url
m
@future-doctor-89396 hey, were you able to configure this?
f
@millions-flower-65543 No apart from getting the github client id and url from my app env instead of asking the self service