Query parameters sometimes get passed as URL fragments instead of query parameters - e.g. during OAuth flows to provide client-only access to parameters.
What's the simplest way to parse a URL like:
https://example.com/auth-callback#access_token=mytoken&expires_in=36000&scope=zap+profile
into key values for:
- access_token, expires_in, scope