Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Applicatin link Invalid OAuth signature error

Farhad June 5, 2024

Dear All 

i want connect Jira and Confluence with application link.

both server behind nginx as reverse proxy 

and both server Accessible from reverse proxy 

also i can run succesfully curl -k -L https://reverseproxy.local/jira from confluence 

and run curl -k -L https://reverseproxy.local/confluence from jira server 

i creatd application link between jira and confluence but i faced with this error : 

  • Invalid OAuth signature
  • We couldn't connect to Confluence, possibly because that instance is behind a misconfigured proxy.

my local authentication for incoming and outgoing in application link is :

OAuth (impersonation)

(also test OAuth)

-----------------------------------------------------------------------------------------------------------------------------------------------

and my nginx reverse proxy config is :

server {
listen 80;
server_name _;
return 301 https://server.local;
}


server {
listen 443 ssl;
server_name _;
disable_symlinks off;
ssl_session_cache shared:SSL:50m;
ssl on;
ssl_certificate /home/pathtossl.pem;
ssl_certificate_key /home/pathtossl.pem;

location /jira/ {
proxy_pass http://serverip:port/jira/;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Authorization "";

client_max_body_size 0;
}

location /confluence/ {
proxy_pass http://serverip:port/confluence/;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Authorization "";
}

how i fix this issue?? 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
jira 9.11 , confluence 8.5
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events