ruby - Intuit Customer Account Data (CAD) SAML Assertion returning Ambiguous Error Message -


i trying obtain oauth tokens in order use cad api, however, keep getting error:

signature on saml token invalid commentary: [verification against static certificate not supported in scenario.

since dont have npm or nodejs have started create one, however, getting hung on saml assertion request. far have ported on ruby gem making saml request new oauth token found here:

https://github.com/cloocher/aggcat/blob/master/lib/aggcat/base.rb (line 70) def saml_message...

my first stab @ not neat, i'm trying verify can make saml request nodejs , response containing oauth token.

my source code nodejs script can found at: https://github.com/britztopher/intuit-cad/blob/master/server/saml2.js

and intuit documentation making request can found here:

intuits cad doc lacking kind of sample of needed produce assertion message.

if clarification needed please comment, trying jump first hurdle.

ok, after cloning aggcat repo ruby script , modifying template assertion message use constants instead of variables comparing assertion message 1 script generating found reason why failing. make sure sha1 digest same , signature same had make assertion messages same.

the reason failure sample assertion sample in documentation wrong on place:

https://developer.intuit.com/docs/0020_customeraccountdata/009_using_customeraccountdata/0010_gettingstarted/0025_making_your_first_connection/saml_assertion_sample

there spaces missing , 1 thing got me element: not terminating element , needs closing tag. example:

in addition, xml doc type () not needed either.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -