Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Enabler:KeyRock
Description
Created question in FIWARE Q/A platform on 04-07-2018 at 09:07
Please, ANSWER this question AT https://stackoverflow.com/questions/51167729/manage-options-request-to-the-keyrock-api
Question:
Manage OPTIONS request to the KeyRock API
Description:
I´m trying to access the KeyrRock Api like in the url : https://keyrock.docs.apiary.io/#reference/keyrock-api/authentication/create-token-with-password-method.
For example to create a token with user and password, POST https://keyrock/v1/auth/tokens
The problem is than when a try to do a request post in a web browser to the API the browser automatically do an OPTIONS requets first, and the KeyRock can manage the OPTIONS requests because only allows POST,GET,HEAD,DELETE method.
How can I configure the fiware-idm proyect to solve this?
(I think that the problem can be for the CORS configuration)
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
7d 21h 33m | 1 | Alvaro Alonso | 12/Jul/18 9:39 AM | |||||
|
1s | 1 | Alvaro Alonso | 12/Jul/18 9:39 AM | |||||
|
1s | 1 | Alvaro Alonso | 12/Jul/18 9:39 AM |