When I start a sign-in for the client "webship-app" with the redirect "https://wrong.example.org/"

Start a sign-in at the server for a client of the realm (its client ID), as an app does, coming back to an address (the app's own when none is given): an unknown client, or an address the client does not allow, ends on the server's error page.

Examples

When I start a sign-in for the client "webship-app" with the redirect "https://wrong.example.org/"
When I start a sign-in for the client "no-such-client"
When we start a sign-in for the client "webship-app"
When I start a sign-in for the client "webship-partner" with the redirect "https://keycloaksteps.ddev.site/elsewhere/"
When I start a sign-in for the client "account-console" with the redirect "https://wrong.example.org/"

Pattern

When(/^(?:I|we) start a sign-in for the client "([^"]*)"(?: with the redirect "([^"]*)")?$/, …)

Part of @webship-js/keycloak-steps (github.com/webship/keycloak-steps), a step pack for Webship-js 2.0.x.