I’m trying to authenticate against recently installed local jira. I added the Application link and I using the following code based on this tutorial https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication)
$oauth = new OAuth($key,$secret, OAUTH_SIG_METHOD_RSASHA1,OAUTH_AUTH_TYPE_URI);
$request_token_info = $oauth->getRequestToken("http://localhost:8089/plugins/servlet/oauth/request-token");
But I get the following error:
protected ‘message’ => string ‘Signature generation failed’ (length=27)
$key and $secret are correct.
Kind regards
Advertisements