By: Alejandro Calderon user 12 Dec 2019 at 6:04 p.m. CST

2 Responses
Alejandro Calderon gravatar
I'm having some troubles when I do a http request from a Sails JS app, it returns an error like this: <html><head>\\n<title>403 Forbidden</title>\\n</head><body>\\n<h1>Forbidden</h1>\\n<p>You don't have permission to access this resource.</p>\\n<hr>\\n<address>Apache/2.4.18 (Ubuntu) Server at auth.tergar.org Port 443</address>\\n</body></html> The problem is that this happens only when I turn the Sails app into production, because when it's in development, every thing goes well. This problem happens also when using a PaaS like Heroku. Do you know any setup I'm missing in my Sails app config/env/production.js file or in the Gluu server to fix it.

By Michael Schwartz Account Admin 12 Dec 2019 at 9:10 p.m. CST

Michael Schwartz gravatar
This is not nearly enough information for us to troubleshoot the problem. Please assemble the logs from both systems, include the client configuration summary for both, and provide many more details about what client software you are using, and which features of openid connect you are trying to leverage. Gluu staff can't know every development platform out there.

By Alejandro Calderon user 13 Dec 2019 at 6:08 p.m. CST

Alejandro Calderon gravatar
I fix it, the problem was that I have the Block access configured (https://gluu.org/docs/ce/3.1.5/operation/security/#block-access), and thats why I got a "Forbidden" as a response, I had to put the IP of the server where I host my Sails app.