[ https://jira.fiware.org/browse/HELP-8878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] José Ignacio Carretero Guarde reassigned HELP-8878: --------------------------------------------------- Assignee: Alvaro Alonso > [fiware-stackoverflow] curl with oAuth login flow > ------------------------------------------------- > > Key: HELP-8878 > URL: https://jira.fiware.org/browse/HELP-8878 > Project: Help-Desk > Issue Type: Monitor > Components: FIWARE-TECH-HELP > Reporter: Backlog Manager > Assignee: Alvaro Alonso > Labels: bash, curl, fiware, oauth > > Created question in FIWARE Q/A platform on 09-10-2015 at 01:10 > {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/33027504/curl-with-oauth-login-flow > +Question:+ > curl with oAuth login flow > +Description:+ > I'm trying to implement a oAuth login flow in a bash script. > The request I need to send to my API is: > curl -X GET 'http://account.lab.fiware.org/oauth2/authorize?response_type=token&client_id=my_client_id&redirect_uri=my_redirect_uri&state=testing' > I keep getting a 301 Moved Permanently Apache message referencing to the same address.. > When trying the same url from my browser - it does work. > Is there a way that I can copy the browser behaviour with curl? > So, once the above request has been made I will be able to see the redirect location in order to get the token from? -- This message was sent by Atlassian JIRA (v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy