You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Embedded runner: an option to set NonFatalSecondaryLegs #7370
authserver.Config.NonFatalSecondaryLegs (#7311) makes a failed or cancelled non-first upstream leg skip that provider instead of failing the whole sign-in. Only authserver.Config has the setting. An embedder that builds the server with runner.NewEmbeddedAuthServerWithStorage (or NewEmbeddedAuthServer) can't turn it on: the runner builds the authserver.Config from the RunConfig and the EmbeddedAuthServerOptions, and neither carries it. The only other way is to build the server with authserver.New, repeating the runner's RunConfig resolution.
Expected
An EmbeddedAuthServerOption, for example runner.WithNonFatalSecondaryLegs(), sets NonFatalSecondaryLegs on the server the runner builds. Like the field, it stays Go-only, with no RunConfig or CRD field. Without the option, nothing changes.
Done when
An embedded server built through the runner with the option completes a multi-upstream sign-in when a non-first leg fails or the user cancels it, and records that provider as skipped.
Without the option, the sign-in fails as before.
Context
Mecatl builds its embedded gateway's authorization server through the runner. With this option, a user who cancels one provider's consent during their first sign-in at the gateway still gets an account, and that provider stays unconnected (stacklok/mecatl#2973).
Mecatl now builds its embedded gateway's authorization server through the runner with the company IdP as the first upstream (stacklok/mecatl#3018). Until this option exists, a user who cancels one provider's consent at their first gateway sign-in fails the whole sign-in. It's on Mecatl's phase 2 path (stacklok/mecatl#2973). Is anyone able to pick it up? It should be a small runner option.
Activity
ChrisJBurns commentedon Nov 28, 2026
Mecatl now builds its embedded gateway's authorization server through the runner with the company IdP as the first upstream (stacklok/mecatl#3018). Until this option exists, a user who cancels one provider's consent at their first gateway sign-in fails the whole sign-in. It's on Mecatl's phase 2 path (stacklok/mecatl#2973). Is anyone able to pick it up? It should be a small runner option.
jhrozek commentedon Nov 28, 2026
I'll work on this.