{"id":7517,"date":"2015-07-18T03:26:00","date_gmt":"2015-07-18T03:26:00","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/07\/18\/login-with-oauth2-provider-in-twitter-with-satellizer-open-source-projects-sahat-satellizer\/"},"modified":"2015-07-18T03:26:00","modified_gmt":"2015-07-18T03:26:00","slug":"login-with-oauth2-provider-in-twitter-with-satellizer-open-source-projects-sahat-satellizer","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/07\/18\/login-with-oauth2-provider-in-twitter-with-satellizer-open-source-projects-sahat-satellizer\/","title":{"rendered":"login with Oauth2 provider in twitter with satellizer-open source projects sahat\/satellizer"},"content":{"rendered":"<p>I would like to build a login with satellizer for Twitter. But I can&#8217;t fuguire out how it is possible with the use of Oauth2.0.<\/p>\n<p>Here my function:<\/p>\n<pre><code>$authProvider.twitter({\n  authorizationEndpoint: 'https:\/\/api.twitter.com\/oauth\/authorize',\n  redirectUri: window.location.origin || window.location.protocol + '\/\/' + window.location.host,\n  scope: [],\n  scopeDelimiter: ' ',\n  type: '2.0',\n  clientId: '[myClientID]'\n});\n<\/code><\/pre>\n<p>What do I wrong?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I would like to build a login with satellizer for Twitter. But I can&#8217;t fuguire out how it is possible with the use of Oauth2.0. Here my function: $authProvider.twitter({ authorizationEndpoint: &#8216;https:\/\/api.twitter.com\/oauth\/authorize&#8217;, redirectUri: window.location.origin || window.location.protocol + &#8216;\/\/&#8217; + window.location.host, scope: [], scopeDelimiter: &#8216; &#8216;, type: &#8216;2.0&#8217;, clientId: &#8216;[myClientID]&#8217; }); What do I wrong?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7517","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7517"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7517\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7517"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7517"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}