Re: How to connect to the Pinterest API using PHP? Programming Web Development by Dani … modify it on their behalf. I wrote an [OAuth tutorial](https://www.daniweb.com/programming/web-development/tutorials/…469804/getting-started-with-oauth-2-0-explicit-flow) a little over a … have already beat you to writing a PHP-based OAuth flow for Pinterest: * https://github.com/dirkgroenen/pinterest… How to connect to the Pinterest API using PHP? Programming Web Development by FarrisFahad … API token endpoint $tokenUrl = "https://api.pinterest.com/v5/oauth/token"; $postFields = [ 'grant_type' => 'authorization_code', 'code' => $authCode, 'redirect_uri… the docs page: https://developers.pinterest.com/docs/api/v5/oauth-token Is there something I am missing? Any help would… Re: How to connect to the Pinterest API using PHP? Programming Web Development by Dani Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb Connect API](https://www.daniweb.com/connect/developers) is also OAuth-based and has some of its own documentation. OAuth help Programming Software Development by IIM I tried using Daniweb OAuth for android application but didn't able to understand as … my website and authenicate from there and then utilize daniweb Oauth.I am a bit confused,please help OAuth 2.0 Implicit Flow with the DaniWeb API Programming Web Development by Dani …/***********************************************************************************/ /*******************************/ /* LOAD THE POPUP OAUTH DIALOG */ /*******************************/ $('#click-here').on…window.location; var dialog = window.open('', 'oauth', 'height=560,width=1080'); dialog.location … Oauth for twitter using C# Programming Software Development by rrr12345 … += Uri.EscapeDataString("https://api.twitter.com/oauth/request_token")+"&"; foreach (KeyValuePair<…ASCIIEncoding.ASCII.GetBytes(base_string))); } string header_format = "OAuth oauth_nonce=\"{0}\", oauth_callback=\"{1}\", oauth_signature_method… Re: OAuth 2.0 and C#? Programming Software Development by Dani I don't know C# for anything, but the following links turned up from a Google search. Perhaps some of them might be helpful: * http://www.deanhume.com/Home/BlogPost/a-simple-guide-to-using-oauth-with-c-/49 * http://www.dotnetopenauth.net/ * http://code.pearson.com/oauth-20-password-sample-code-c Re: OAuth 2.0 and C#? Programming Software Development by riahc3 …://www.deanhume.com/Home/BlogPost/a-simple-guide-to-using-oauth-with-c-/49 http://www.dotnetopenauth.net/ http://code.pearson….com/oauth-20-password-sample-code-c Tried that first link, but… oAuth and twitter in C# Programming Software Development by Diamonddrake does anyone know anything about oAuth? I can't find a dot net example that works. … OAuth 2.0 and C#? Programming Software Development by riahc3 Has anyone worked with C# and OAuth 2.0? Documentation/examples is VERY poor on how to do a simply login. Thank you Re: API OAuth for Desktop Community Center Meta DaniWeb by Ketsuekiame OAuth is pretty bad for native apps, whilst maintaining the trust of your users. There's ways around it of course, but none of them lead for a good user experience. Unfortunately nothing can be done about that :( Getting started with OAuth 2.0 Explicit Flow Programming Web Development by Dani …their accounts on their behalf, then you need OAuth. OAuth allows your application to automatically detect which member …s access is explicitely authorized during the OAuth process. The OAuth 2.0 flow for the end-…header("Location: https://www.daniweb.com/api/oauth?response_type=code&client_id=$client_id&redirect_uri=".urlencode… Google API and oauth token problem Programming Web Development by SimonIoa …'); session_start(); // prepare new instances of GmailOath and GmailGetContacts $oAuth = new GmailOath($sClientId, $sClientSecret, $argarray, false, $… and set it into session $oRequestToken = $oGetContacts->get_request_token($oAuth, false, true, true); $_SESSION['oauth_token'] = $oRequestToken['oauth_token… Re: Getting started with OAuth 2.0 Explicit Flow Programming Web Development by Dani We also have a [tutorial about clientside (implicit) flow](http://www.daniweb.com/web-development/javascript-dhtml-ajax/tutorials/469810/oauth-2.0-implicit-flow-with-the-daniweb-api) which I encourage javascript people to check out as a follow up to this tutorial :) Re: Getting started with OAuth 2.0 Explicit Flow Programming Web Development by Dani … time) } else { // Redirect end-user to www.daniweb.com/api/oauth to generate a new code // Exchange new code for access… Re: Getting started with OAuth 2.0 Explicit Flow Programming Web Development by Dani … always redirect the end-user to www.daniweb.com/api/oauth each time they load up the demo page, where they… Re: Google OAuth embedded webview Programming Web Development by AndreRet … being used in requests to Google's OAuth 2.0 authorization endpoint. This message is…the authorization code or access token according to your OAuth 2.0 implementation. To handle the callback in…// Handle error conditions or invalid responses // ... } Depending on your OAuth 2.0 provider and requirements, you may need to perform… Google OAuth embedded webview Programming Web Development by Dani …use of an embedded webview in requests to Google's OAuth 2.0 authorization endpoint in the past 120 days … "man-in-the-middle" attacks. Google's OAuth 2.0 "Use secure browsers" policy helps us…2021 Google Developers blog post, Security changes to Google's OAuth 2.0 authorization endpoint in embedded webviews, to determine … Proper way to do JavaScript-based OAuth Programming Web Development by Dani …DaniWeb now has an API. It (optionally) uses OAuth 2.0 and it supports both server-side and… the hash (which includes the access token) from the OAuth process // to the main window and close the popup opener…var url = "http://www.daniweb.com/api/oauth/dialog?client_id=1&redirect_uri=http%3A%2F%2Fwww.daniweb… Re: Complete oAuth Sample Programming Web Development by JBLDW I am not an OAuth user, and cannot give you any advice on …these resources? [url]http://hueniverse.com/oauth/[/url] [url]http://hueniverse.com/oauth/guide/[/url] Looking at what little documentation… to be experienced enough in using the things that OAuth depends on in order to have any real idea… the basic things that seem to be required by OAuth. Re: Proper way to do JavaScript-based OAuth Programming Web Development by Dani … the hash (which includes the access token) from the OAuth process // to the main window and close the popup opener…} $('#click-here').bind('click',function() { var url = '<?= site_url('api/oauth/dialog') ?>?client_id=' + client_id + '&redirect_uri=' + window.location; window… Re: Google OAuth embedded webview Programming Web Development by Dani …, you'll need to modify the way you handle the OAuth 2.0 authorization flow in your application. Instead of using…, and I *am* only using a system browser for the OAuth authorization process. The only thing I can think of is… Fetch emails with php lib that suports oauth 2 Programming Web Development by jepp3 … I'm trying to get mail(imap) from google by oauth authorization . I have got the authorization to work, but I…and Security Layer (SASL), they should be compatible with the OAuth mechanism supported by Gmail. In addition to using a library… to use one of the many existing libraries for handling OAuth > Do anyone know a existing library that i … API OAuth for Desktop Community Center Meta DaniWeb by Mike Askew As far as I can see, to develop applications using OAuth we need to own server space to host a site? … application obviously doesn't have one of these. When sending OAuth requests we have to provide a redirect URL on the… have the domain as its a desktop application, we cant OAuth, correct? Only way round figured on the IRC was to… Re: API OAuth for Desktop Community Center Meta DaniWeb by pritaeas > we cant OAuth, correct? You can, [as documented here](http://wiki.oauth.net/w/page/27249271/OAuth%202%20for%20Native%20Apps). No straightforward solutions though. Re: Daniweb OAuth support Community Center Meta DaniWeb by ~s.o.s~ … asking for code url1 = 'http://www.daniweb.com/api/oauth?response_type=code&client_id=put_in_your_client_id&redirect_uri=oob' webbrowser.open_new… data={'access_token': access_token, 'room_type': 'member', 'room_id': '1', 'message': 'Hello from OAuth Desktop Client'}) res9.text # Post in community center res9 = requests… Re: Google OAuth embedded webview Programming Web Development by Dani Oh, also, I went ahead and [tested for compatibility](https://developers.googleblog.com/2021/06/upcoming-security-changes-to-googles-oauth-2.0-authorization-endpoint.html) with ?disallow_webview=true and it still worked. Should I just ignore the email? Re: Complete oAuth Sample Programming Web Development by JBLDW … a quick search and came up with the main OAuth page: [url]http://oauth.net/[/url] ...and a Google page which should… some examples: [url]http://code.google.com/apis/accounts/docs/OAuth.html[/url] ...hope these help with whatever you are working… Re: Daniweb OAuth support Community Center Meta DaniWeb by ~s.o.s~ … that URL is opened, the user can login to the oauth provider, accept the application terms and get back a token…'s a local app). Now the problem is that the OAuth provider would try redirecting to this address which would fail… out-of-process) which would accept the redirect by the Oauth provider, capture the code and then start phase 2. Hope… Re: Daniweb OAuth support Community Center Meta DaniWeb by ~s.o.s~ … some changes to how standlone apps deal with the Daniweb oauth infrastructure. I tried sending a request: http://www.daniweb….com/api/oauth?response_type=code&client_id=40&redirect_uri=urn:ietf:wg…:oauth:2.0:oob which should ideally bring me to …