I'm using the following javascript below to get an access token for a browser game.
The problem is queryString and params are empty and the accessToken is null. Is there something I need to setup to get this to work?
var queryString = window.location.hash.slice(1); var params = new URLSearchParams(queryString); var accessToken = params.get("access_token");