Add new device_auth_client_type setting to allow attaching the client_secret to device auth requests

This commit is contained in:
Joe Kralicky 2024-06-06 15:57:37 -04:00
parent 18aed33aa5
commit b4aa275403
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
11 changed files with 312 additions and 249 deletions

View file

@ -587,7 +587,7 @@ func (a *Authenticate) DeviceAuthLogin(w http.ResponseWriter, r *http.Request) e
routeUri := r.FormValue(urlutil.QueryDeviceAuthRouteURI)
ad := []byte(fmt.Sprintf("%s|%s|", routeUri, idpID))
authenticator, err := a.cfg.getIdentityProvider(options, idpID)
authenticator, err := a.cfg.getIdentityProvider(r.Context(), a.tracerProvider, options, idpID)
if err != nil {
return err
}