[Fiware-tech-help] token by code authorized request returns 401

Tania Petsouka tpetsouka at dotsoft.gr
Fri Aug 14 13:19:08 CEST 2015


Hello, we managed to setup an environment with oauth (implicit grant) from
fiware lab idm server and it worked fine (except this
https://jira.fiware.org/browse/HELP-3061  CORS issue that we still waiting
support for).
Today it stopped responding normal to access token requests by code.

        The request bellow
        -----------------------------
        POST /oauth2/token HTTP/1.1
        Host: account.lab.fiware.org
        Content-Type: application/x-www-form-urlencoded
        Authorization: Basic <XXXX> --- <XXXX>
        Cache-Control: no-cache
        Content-Type: application/x-www-form-urlencoded

grant_type=authorization_code&code=1234&redirect_uri=http%3A%2F%2Flocalhost%3A9000%2Fcodecallback.html
        -----------------------------

responses:

 {"error": {"message": "The request you have made requires
authentication.", "code": 401, "title": "Unauthorized"}}.

Thank you in advance

-- 
Tania Petsouka
Software Engineer
DOTSOFT S.A. TECHNOLOGY | PROJECTS | SOLUTIONS
Τ: +30 (2310) 500181
F: +30 (2310) 551844
Ε:  tpetsouka at dotsoft.gr
W: http://www.dotsoft.gr
P: Kountouriotou 3 | Thessaloniki 546 25

Please consider the environment. Do you really need to print this email?
______________________________________________________
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
If you are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150814/3ee09b4c/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy