{"version":"1.0","type":"rich","title":"SoundCloud OAuth 2 User Agent Authentication Flow Demo","description":"This demo shows the SoundCloud OAuth 2 user-agent authentication flow, displaying a connect link initially and then revealing the authenticated user’s token and username after authorization. It uses jQuery’s `$.ajax` to request the `/me` resource from the SoundCloud API, extracting the access token from the URL hash and sending it in the `Authorization` header. The page toggles between hidden authentication and authenticated states based on token presence, with client ID and redirect URI configured in the inline JavaScript.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2040389?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}