Launchad API/SigningRequests question

Asked by Frederic LOUI on 2019-04-11

Hi I'm following this page to deploy on launchpad via travis-ci.
So far so good but I succesuffuly generated my oauth_token and oauth_token_secret but now I'm sure what to do next.
Step 2 says to log in and visit the URL based {oauth_token}:
https://launchpad.net/+authorize-token?oauth_token={oauth_token}

But I have a: Authorize application to access Launchpad on your behalf. Unable to identify application

I'm using oauth_consumer_key=Travis Deploy as per Travis-CI documentation here:
https://docs.travis-ci.com/user/deployment/launchpad/

I put the oauth_token and oauth_token_secret encrypted in .travis.yml but get a 401 error.

So I guess I miss the step on authorizing travis-CI to update the luanchpad project.

Anything I'm missing ?

All the best
Thank you for your help !

Frederic LOUI

Question information

Language:
English Edit question
Status:
Expired
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
2019-04-29
Last reply:
2019-05-15
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Colin Watson (cjwatson) said : #2

I just tried running through the first couple of steps of our documented process, and it's working fine for me.

If you get "Unable to identify application", then I think that can only mean that you didn't pass the oauth_token parameter correctly somehow, or that the token was already claimed by a previous request to +authorize-token.

Could you give more exact detail about precisely what you're doing in step 1?

Frederic LOUI (frederic-loui) said : #3

 Hi,
Thanks for your answer.You were absolutely right I used a 3rd party documentation using CLI and it was working fine.
I followed the document and just cut and paste the URL but the application could not being authenticated. (I guess my URL was wrong)
So I felt back to use CLI POST and it was then working fine.
You can either be more explicit by putting an POST example that can be "cut n' paste" or simply put CLI (non interactive) command.
I think you can close the ticket.
Thanks !
Best regards,Frédéric
    Le lundi 29 avril 2019 à 14:44:01 UTC+2, Colin Watson <email address hidden> a écrit :

 Your question #680183 on Launchpad itself changed:
https://answers.launchpad.net/launchpad/+question/680183

    Status: Expired => Needs information

Colin Watson changed the question status:
I just tried running through the first couple of steps of our documented
process, and it's working fine for me.

If you get "Unable to identify application", then I think that can only
mean that you didn't pass the oauth_token parameter correctly somehow,
or that the token was already claimed by a previous request to
+authorize-token.

Could you give more exact detail about precisely what you're doing in
step 1?

--
You received this question notification because you asked the question.

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.