Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Cosmos
Description
Created question in FIWARE Q/A platform on 18-08-2015 at 14:08
Please, ANSWER this question AT http://stackoverflow.com/questions/32072623/problems-with-cosmos-auth-and-identity-manager-integration
Question:
Problems with cosmos auth and Identity manager integration
Description:
I want to integrate cosmos-auth with Idm GE.
Config for node.js application is:
{
"host": "192.168.4.180",
"port": 13000,
"private_key_file": "key.pem",
"certificate_file": "cert.pem",
"idm": {
"host": "192.168.4.33",
"port": "443",
"path": "/oauth2/token"
},
"cosmos_app": {
"client_id": "0434fdf60897479588c3c31cfc957b6d",
"client_secret": "a7c3540aa5de4de3a0b1c52a606b82df"
},
"log":
}
When i send HTTP POST request directly to IDM GE to url
https://192.168.4.33:443/oauth2/token
with required parameters i get ok results:
{
access_token: "LyZT5DRGSn0F8IKqYU8EmRFTLo1iPJ"
token_type: "Bearer"
expires_in: 3600
refresh_token: "XiyfKCHrIVyludabjaCyGqVsTkx8Sf"
}
But when i curl the cosmos-auth node.js application
curl -X POST "https://192.168.4.180:13000/cosmos-auth/v1/token" -H
"Content-Type: application/x-www-form-urlencoded" -d
"grant_type=password&username=idm&password=idm" -k
I get next result:
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}Has anyone encountered something similar?
What could be the problem?
Activity
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | Cosmos [ 10872 ] | |
HD-Chapter | Data [ 10838 ] |
Summary | FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration | FIWARE.Question.Tech.Data.BigData-Analysis.Problems with cosmos auth and Identity manager integration |
Summary | FIWARE.Question.Tech.FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration | FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration |
Summary | FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration | FIWARE.Question.Tech.FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration |
Summary | [fiware-stackoverflow] Problems with cosmos auth and Identity manager integration | FIWARE.Question.Tech.Problems with cosmos auth and Identity manager integration |
Assignee | Alvaro Alonso [ aalonsog ] | Francisco Romero [ frb ] |
Assignee | Alvaro Alonso [ aalonsog ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |