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 ``` <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 404 Not Found</title> </head> <body> <h2>HTTP ERROR 404</h2> <p>Problem accessing /oxauth/token. Reason: <pre> Not Found</pre> </p> <hr> <a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.15.v20161220</a> <hr/> </body> </html> ``` 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 [https://gluu.org/docs/ce/3.1.1/api-guide/openid-connect-api/#openid-connect-token-endpoint](https://gluu.org/docs/ce/3.1.1/api-guide/openid-connect-api/#openid-connect-token-endpoint) Thanks in advance. Regards, Thomas.

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](https://gluu.org/docs/ce/3.1.2/integration/sswebapps/openidc-rp/), study [the spec](http://openid.net/specs/openid-connect-core-1_0.html) 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.