By: Thomas Zen user 07 Feb 2018 at 6:25 a.m. CST

1 Response
Thomas Zen gravatar

Dear Gluu Team,

Finally I got the Gluu Server running and it's great. But when I follow the api of OpenID connection, I encountered a 404 problem. I want to use password mode to obtain token from gluu server, so I send a post request to {hostname}/oxauth/token, with parameter as follow

    "grant_type": "password",
    "username": "user001",
    "password": "ffffff"

But the response is

        <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
        <title>Error 404 Not Found</title>
        <h2>HTTP ERROR 404</h2>
        <p>Problem accessing /oxauth/token. Reason:

            <pre>    Not Found</pre>
        <a href="">Powered by Jetty:// 9.3.15.v20161220</a>

This is a 404 request without error message so I don't know what to do. Is it because of setting in the server? Could you please give me a hint.

The api I follow is here

Thanks in advance.



By Aliaksandr Samuseu staff 07 Feb 2018 at 8:34 a.m. CST

Aliaksandr Samuseu gravatar

Hi, Thomas.

We don't provide support for custom client development and sending manual requests to our community (free) users, it's too broad and complex of a topic. I would suggest you to first try it out using a supported RP, like mod_auth_openidc, study the spec thoroughly and observe what is being sent over the wire. Only after that proceed to low-level stuff, like sending manual requests. You can also try to search this boards for examples of such requests provided in other tickets.