since ‎03-12-2019
‎14-10-2020
oliverf82757722
Level 1
Re: Is there an SDK I can use for the data insertion API? oliverf82757722 - Project Firefly
Thanks for the update. I'll continue on with the node-fetch approach. Thanks
41
Views
0
Likes
0
Comments
Is there an SDK I can use for the data insertion API? oliverf82757722 - Project Firefly
I've been given a CURL request that builds on this API... https://helpx.adobe.com/uk/analytics/kb/data-insertion-api-post-method-adobe-analytics.html.And at the moment I am building this request manually in my project firefly action.I was wondering if there's an SDK I can install using NPM that will provide some convenience methods around this instead of building the request manually?Thanks
77
Views
0
Likes
4
Answers and Comments
How can I access the logs that are output by my actions? oliverf82757722 - Project Firefly
I have some errors being returned and being logged out by my headless project firefly app but I'm not sure where to go to see the logs.When I click on the Insights option I just get a blank white screen.Please could someone help me find the logs that are output.Thanks
61
Views
0
Likes
1
Answers and Comments
Re: What are MetaScopes and how can I find what I need to... oliverf82757722 - Project Firefly
Oh! I read the fine print again. The sample code uses @adobe/jwt-auth which has metascopes as URLs. The `aio-lib-ims` framework has metascopes as names (so just the last part of the URL). Fixed now. Thanks 😄 Slowly getting there 🙂
64
Views
0
Likes
0
Comments
Re: What are MetaScopes and how can I find what I need to... oliverf82757722 - Project Firefly
Hi @duypnguyen I've moved over to use the aio-lib-ims framework and now I'm getting the error again of 'The metascopes in the JWT are not a subset of the metascopes in the binding.' I have found the list of metascopes in the link I provided but I'm just not sure how to discover what the "metascopes in the binding" are? My current array is ['https://ims-na1.adobelogin.com/s/ent_adobeio_sdk'] (which was working before) but that was just a guess. Please could you help me in discovering which metasc...
70
Views
0
Likes
0
Comments
Re: What are MetaScopes and how can I find what I need to... oliverf82757722 - Project Firefly
Hi @duypnguyen please could you provide a link to some docs or sample code for using the aio-lib-ims framework. Thanks
91
Views
0
Likes
0
Comments
Re: What are MetaScopes and how can I find what I need to... oliverf82757722 - Project Firefly
Ah excellent thanks. I'll update to that. I used that following the code sample here... https://www.adobe.io/content/udp/en/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/samples/samples.md WIll update to the aio-lib-ims though. Thanks
97
Views
0
Likes
0
Comments
Re: What are MetaScopes and how can I find what I need to add? oliverf82757722 - Project Firefly
The rubber duck effect works again. 😄 About 2 mins after writing this I went back to the docs to keep looking and stumbled upon the list of metascopes here... https://www.adobe.io/authentication/auth-methods.html#!AdobeDocs/adobeio-auth/master/JWT/Scopes.md And now it's working 😄 Thanks
110
Views
0
Likes
0
Comments
What are MetaScopes and how can I find what I need to add? oliverf82757722 - Project Firefly
I have been using this example using `@adobe/jwt-auth` to try and authenticate my external service to invoke my Project Firefly app.My config is like... export default { credentials: { clientId : 'client id', technicalAccountId : 'account id', orgId : 'org', clientSecret : 'secret', metaScopes : 'ent_user_sdk', // This comes from the example privateKey : '-----BEGIN PRIVATE KEY-----\n' + 'My Private Key/n' + '-----END PRIVATE KEY-----\n', }, }; When I try to auth now I get the error...The metasc...
126
Views
0
Likes
8
Answers and Comments
How do I create a headless application? oliverf82757722 - Project Firefly
Please ignore
88
Views
0
Likes
2
Answers and Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
@duypnguyen ah! I realised my error, after reading the security overview the error made more sense. It looks like I have created an SPA rather than a headless app. So that's why the JWT was failing. Need to work out how to create a headless app instead. Thanks for the help and the patience 😄
81
Views
0
Likes
0
Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
@duypnguyen thanks. What would I put in the manifest instead of `require-adobe-auth` when I want to authenticate with a JWT? Thanks
93
Views
0
Likes
0
Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
If I want to use a JWT for an action should I have require-adobe-auth: true in the manifest.yml? Also, is there a reference of what the options and properties are for that file? I'm finding it hard to discover what can go in there. Thanks
116
Views
0
Likes
0
Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
@duypnguyen ah, that's really good to know, thanks!
149
Views
0
Likes
0
Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
Yeah, I thought about that too but like you said, it's not secure. I think it will be easier for me to use a proxy. I can authenticate the webhook to our own service and then use our existing service to get the bearer token with the JWT before calling it. Thanks 😄
177
Views
0
Likes
0
Comments
Betreff: Create an action that will be called by an exter... oliverf82757722 - Project Firefly
Ah, I had read about that but was hoping for a more passive way of authenticating the call. I think what I'll have to do is to run the webhook to another service (something we already do) and then authenticate my own service and use that to call the Firefly action. Thanks I'll explore this as a possible way of working.
182
Views
0
Likes
0
Comments
Create an action that will be called by an external service oliverf82757722 - Project Firefly
I have been asked to explore Project Firefly and various uses of it and I'm struggling to understand how to authenticate this call. I'm only at the very beginning of exploration so I have probably missed something and was hoping someone could point me in the right direction.I have created a new generic action (eventually this will connect with Adobe Target but just keeping it simple for now). This new action will be invoked by a webhook from a CMS system that we use. When new content is publishe...
214
Views
0
Likes
12
Answers and Comments
Authenticating an event webhook from the hash of the body oliverf82757722 - Adobe Target
https://www.adobe.io/apis/experienceplatform/events/docs.html#!adobedocs/adobeio-events/master/intro/webhook_docs_intro.md#authenticating-events At the bottom of this page there is a small example of "Javascrip(pseudo-code)" which is entirely unhelpful as it fails to explain the only part of the code that is important to know. Where/how do you get `raw-request-body` from?At the moment my code looks like... const validateClientSecret = (req: any) => { const secret = secretKey(); const hmac = cryp...
465
Views
0
Likes
0
Answers and Comments
Likes given to