How can I define a route in my routes.jsx file to capture the __firebase_request_key parameter value from a URL generated by Twitter\'s single sign on process a
React Router v4 no longer has the props.location.query object (see github discussion). So the accepted answer will not work for newer projects.
A solution for v4 is to use an outside library query-string to parse the props.location.search
const qs = require('query-string');
//or
import * as qs from 'query-string';
console.log(location.search);
//=> '?foo=bar'
const parsed = qs.parse(location.search);
console.log(parsed);
//=> {foo: 'bar'}