Use this SDK to authenticate Coinbase users using OAuth2 with Javascript. See example.html for usage.
Important: https://coinbase.com/oauth/javascript_sdk_redirect must be added as a redirect URI to the OAuth2 application you are using in order for the Javascript SDK to work.