java - Why freshdesk sso always return "login was unsuccessful" (302)? -


im trying use freshdesk simple sso.

my generated string is:

https://companyname.freshdesk.com/login/sso?name=test&email=test@companyname.com&hash=220685100fbad0bdd17e9096313395b7&timestamp=1472786454

but freshdesk return error "login unsuccessful" on page code 302.

any advice?

ps: there mistake in java code example: missed 'timestamp' param in generated url required param.

timestamp utc timestamp of when user attempts log in remotely in seconds since epoch. value has within past 30 minutes. else hash rejected , user denied login.

there link github 2 examples on their article.

the first one md5. second one hmacmd5.

i used first 1 because i'm doing web app looks actual example second 1 because using hmacmd5 algorithm on side.


Comments