I have previously been able to go to https://SUB.atlassian.net/wiki/plugins/servlet/applinks/listApplicationLinks and create a new link, e.g.
http://localhost:3002 filling out all the input boxes with dots (
.) or other random characters, selecting
Create incoming link, and on the next page adding my public key and consumer key.
In my app, I then use the Ruby gem
oauth (as in the examples: https://bitbucket.org/atlassianlabs/atlassian-oauth-examples/src/master/ruby/app.rb) and go through the OAuth dance. I don’t get very far, since the
oauth gem throws a
302 Found error, because it gets into a redirect loop.
The redirect loop seems to be:
/wiki/plugins/servlet/oauth/request-token -> /login?application=confluence&dest-url=%2Fwiki%2Fplugins%2Fservlet%2Foauth%2Frequest-token -> /login?application=confluence&dest-url=%2Fwiki%2Flogin -> ERROR
All of this used to work, but now it don’t. What changed? What do I need to change to get it to work again?