[Backlogmanager] [FIWARE-JIRA] (HELP-20052) [fiware-stackoverflow] orion-ld: create subscription with URL including Bearer Token in the header

Ken Zangelin (JIRA) jira-help-desk at jira.fiware.org
Mon Sep 26 08:35:00 CEST 2022


    [ https://jira.fiware.org/browse/HELP-20052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=115889#comment-115889 ] 

Ken Zangelin commented on HELP-20052:
-------------------------------------

Duplicated issue (same as HELP-20096)

> [fiware-stackoverflow] orion-ld: create subscription with URL including Bearer Token in the header
> --------------------------------------------------------------------------------------------------
>
>                 Key: HELP-20052
>                 URL: https://jira.fiware.org/browse/HELP-20052
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Ken Zangelin
>              Labels: fiware, subscription, token
>
> Created question in FIWARE Q/A platform on 09-09-2022 at 09:09
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/73660060/orion-ld-create-subscription-with-url-including-bearer-token-in-the-header
> +Question:+
> orion-ld: create subscription with URL including Bearer Token in the header
> +Description:+
> Hello FiWare specialists,
> I like to create a subscription, which pushes notifications to an external service.
> The external service needs authorization with a barrier token.
> If I use curl, I ass "--header 'Authorization: Bearer XXX'".
> How can I add a barrier token to the subscription request?
> "notification": {
>     "attributes": [ "id", "type", "name", "location", "occupancy"],
>     "format": "normalized",
>     "endpoint": { 
>         "uri": "http://a.b.c.de:1111", 
>         "accept": "application/json"
>     }
>   },
> Is there an option to add a header field to the "endpoint" setup in the subscription like:
> "headers": "Authorization: Bearer XXX"
> Hopefully, you can help me in that case.
> Thanks, Knigge



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy