Giter Site home page Giter Site logo

phpaggcat's Introduction

phpaggcat

PHP Sample Code for Authenticating to Intuit's Agg & Cat APIs.

Steps for using this sample:

  1. Prepare a PHP / Apache environment (if you are here, you probably already have one)

  2. Download http://simplesamlphp.org/download to a location of your choice, read-able and execute-able by your apache user

  3. Download the three files in this source sample, again to a location of your choice

  4. Update the "define" settings at the top of config.php with values that you've received from Intuit during the Agg & Cat onboarding wizard

Other Useful Resources

Intuit's steps for becoming authorized to integrate with Agg & Cat: https://developer.intuit.com/docs/0020_aggregation_categorization_apps/009_using_aggcat

Intuit's documentation of an example SAML Assertion: https://developer.intuit.com/docs/0020_aggregation_categorization_apps/009_using_aggcat/0010_gettingstarted/0025_making_your_first_connection/saml_assertion_sample

phpaggcat's People

Contributors

pleslie avatar

Stargazers

Sean Goresht avatar Don Zuiker avatar Sambir Shrestha avatar Emily Silberstein avatar Tejas Tank avatar Daniel Raban avatar Brandon Surowiec avatar Joshua Beam avatar Jeff Morris avatar

Watchers

Emily Silberstein avatar

phpaggcat's Issues

problem: self signed certificate in certificate chain

Hello

I've successfully created my app and x509 certificate using the instructions on Intuits developer website.

When I try to call IntuitAggCatHelpers::GetOAuthTokens() the script fails silently with the message "SSL certificate problem: self signed certificate in certificate chain".

The documentation states we can use self-signed certificates during testing so I'm not sure what the problem is? Should I be using a different URL than https://oauth.intuit.com/oauth/v1/get_access_token_by_saml?

Issue with POST

We seem to be having issues with POST using getHeaderString() signature. It continues to return that the signature is invalid. Anyone else having trouble with this?

Note that GET requests work fine with the GET method.

OAuthSimple.php

I am not sure where this file is located. I downloaded simplesamlphp library and it is not in there. Any insight would be helpful.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.