Quins were cruising at the break as scores from Andre Esterhuizen, Marcus Smith and Cadan Murley replied to Scott Cummings' early effort.
Glasgow dominated the first half hour of the second half with tries from Johnny Matthews and ever-present George Horne levelling the contest, before Horne's penalty took Warriors ahead.
But replacement hooker Riley took his chance from the back of a maul on 76 minutes to send Quins into a Champions Cup quar ter-final for the first time in 11 years.
"Whenever we're ahead, we seem to let the opposition in," said star man Smith. "That's something we're working on. We're still not where we want to be, but we've got another European knockout now, which is exciting.
"In the last two years we've fallen at this hurdle, so that's a monkey off the back."
Esta historia es de la edición April 07, 2024 de The Rugby Paper.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 8500 revistas y periódicos.
Ya eres suscriptor ? Conectar
Esta historia es de la edición April 07, 2024 de The Rugby Paper.
Comience su prueba gratuita de Magzter GOLD de 7 días para acceder a miles de historias premium seleccionadas y a más de 8500 revistas y periódicos.
Ya eres suscriptor? Conectar
Minikin sparks a party at Twickenham for Yorkshire
EUPHORIC scenes swept round Ionians ground as Lewis Minikin dashed over to score Yorkshire's fourth try to send the white rose to Twickenham for the first time in 16 years.
Rebels facing tough test against 'Canes
SUPER Rugby Pacific play-off spots were confirmed this weekend, with the soon-to-be extinct Melbourne Rebels living to fight another day in eighth place.
Ospreys' Nicky just too tricky for Cardiff
LEICESTER-BOUND, Smith scored Nicky two tries as Ospreys squeezed into the playoffs with a bonus-point victory over a battling Cardiff in an enthralling game.
Quins want to throw fitting farewell party
HARLEQUINS stars Shaunagh Brown, Rachael Burford and Emily Scott start their final game for the club today.
Mapletoft set for Georgia challenge
ENGLAND U20s head coach Mark Mapletoft has confirmed his 30-player squad that travel to Georgia next week in preparation for next month's World Championship.
Gloucester put faith in 'some old heads'
IT was typical of Gloucester's season - make that the last couple that when they came up against a front five in last weekend's Challenge Cup final that contained four World Cup winners they were missing three frontline forwards.
Smith has final say for Saints
NORTHAMPTON Saints, having run teams ragged in glorious fashion all season, scrummaged and muscled their way to their first Premiership final since 2014 but a resilient Saracens contested the issue until the final whistle.
Finally! Bath hold nerve to see off Sharks
BATH are one victory away from winning the Premiership for the first time after surviving a Sale comeback, but they are likely to be underdogs against a Northampton that has been a couple more years in the making.
Chessum 'gutted' to miss out on England
OLLIE Chessum admits he is \"gutted\" to be missing out on a busy summer with England in the southern hemisphere.
Boyd got me back on track - Ludlam
LEWIS left the Ludlam Franklin's Gardens turf in a Northampton jersey for perhaps the last time on Friday night, six years after he thought about ending his career because he feared it was going nowhere.