Recently I researched a PHP Sample (PHP Sample App and Authentication Example) but I still can't make it work. aggcat php sample is not working
Did anybody test this sample? Should I use the .crt file for 'SAML_X509_PRIVATE_KEY_PATH' or .p12 file? In case of using .p12 file where I could pass the password?
What other samples (open-source) would you recommend (that can be used to implement my own procedures for retrieving OAuth access token and OAuth access token secret)? Thanks in advance.
You can download the sample app from:
https://developer.intuit.com/docs/0020_customeraccountdata/devkits
I've used the dotnet sample and pass the values for .p12 file private key path and password in the config. You should have something similar in PHP.
I got this working using the standard options defined in the config.php file. I did have to modify a few things to get it up and working though. See my answer to your other question for details.
Related
The question is similar to Download secure file with PowerShell, except I need to download secure file using Rest API only. The one thing I cannot figure out is what is secure file ticket and how to get it.
For OAuth authorization through applications, you must specify the clientID and clientSecret. This is necessary so that GitHub can identify my application and remove some restrictions.
I registered my application and got the id and secret, but! it is not clear where to keep Secret, many people do not recommend storing it in the source code, which is also public. I do not have a server, I do not know where to store it.
I write on C# + UWP.
I know you are C# and Universal Windows Platform (UWP), but thought I would post this, since it may help.
My Git-Captain node.js project stands up a server that does calls to the GitHub API. In the GitHub Git-Captain project readme, I explain to store the client_secret and client_id on the server.
I store the client_secret and client_id on the server in a ".env" file on the "controllers" directory (Node.js controller).
The idea with the .env files is that when the node.js server starts it loads environment variables from a .env file, which can be accessed from the process.env node.js property.
The solution may be too much for what you are trying to do, but checkout the project and if you can setup a Node.js server on a windows server than you can modify it to do whatever you need.
In the coming months I'm going push the Linux Server instructions and we know a Linux server running on AWS is dirt cheap and GitHub is also free.
If interested, checkout the demo on YouTube.
Does SoapUI support PKI authentication? I currently have version SoapUI 5.0.0 available to me.
If so then...
What versions support it?
Are any of the versions free?
How do I configure the tool to use PKI?
If anyone can, please assist with details or a link to another forum posting that I cannot find.
All authentication done to the server is done via certificate. I can use HttpRequester plugin with Firefox but find it to be lacking and want to use SoapUI. In order to do so I need to have SoapUI present my cert to the server but cannot find information on how this is done.
Additionally, to be more precise I have .p12 and a .ppk file to work with. What do I need to do to get this to function? I posted this to the SmartBear forum site almost a week ago but have not gotten any response.
The answer to this is (when using SoapUI 5.0.0)
File > Preferences
Click SSL Settings tab
KeyStore: C:\pathToYour\fileName.p12
KeyStore Password: password to your p12 file
Click OK
In order to view wadl file from my server in an internet browser it's necessary to authenticate.
I would like to test my webservices using soapui however when I add new project and in initial wadl/wsdl I enter path to wadl file on my server the project is created but operations are not listed. How to authenticate user and password in order to get valid wadl?
If you are using a SOAPUI version 4.6.4, there is a bug importing authentication protected wsdl which provokes that the basic credentials prompt is not showed up. You can see more details here.
There is a maintenance build for SOAPUI PRO where this bug is solved: http://www.soapui.org/Downloads/soapui-pro-nightly-builds.html.
I'm using facebook connect on a website, it worked well with PHP SDK 3.0.1.
Now I've downloaded and started using PHP SDK v.3.1.1 and set Encrypted Access Token to enabled. It still works without problems. Is this enough for the migration? How can I check it? I don't use the js sdk.
According to the migration guide, it looks like you have done all the steps you need for Facebook on an external website by upgrading to 3.1.1 PHP SDK and set encrypted access token.
If you were hosting a fan page or app inside Facebook you would also need an SSL certificate. And there are several code changes required if you are using the javascript SDK which you say you aren't.