Search code examples
single-sign-ongooddata

How to get GoodData PGP SSO Work?


I am trying to implement GoodData PGP key based Single Sign On based on the documentation but can't get it work. GoodData support confirmed that my keys are deployed on their servers, my user has my ssoProvider property set to what they provided, I think I am doing all what is expected but it just does not work.

Here is my initial JSON: { "email" : "[email protected]" , "validity": 1395089703026 } I am signing it with my private key, encrypting with gooddatas public key, URLencoding and using as sessionId parameter of the URL but I still receive "UNABLE TO LOAD" error message.

Any ideas what can be wrong?


Solution

  • All the time parameters (validity, notBefore, notOnOrAfter) need to be in unix timestamp format in seconds, not milliseconds.

    Try this { "email" : "[email protected]" , "validity": 1395089703 }