since ‎03-12-2019
‎16-01-2021
oliverf82757722
Level 1
Re: The Insights are showing strange data
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Ah good! I was scared I'd be charged a fortune for petabytes of data usage. Haha! 😄 Thanks for the reply.

Views

111

Likes

0

Replies

0
The Insights are showing strange data
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
I've created a very small app that we're getting working on Project Firefly but the insights are showing odd data.I have hit the endpoint multiple times today but I don't seem to be seeing any of these come through in the insights. Should I be expecting to see something here? Also, the Total Usage seems to be showing 1.5 million GB/s? Please can someone help me analyse these data.Thanks Oliver

Views

146

Likes

0

Replies

4
Re: How to connect to an existing app?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Ah excellent, that's great thanks!

Views

99

Likes

0

Replies

0
How to connect to an existing app?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Hi, I have created an app using `aio app init` and gone through adding the actions and code and deploying it etc...Now my colleague wants to connect to be able to update and deploy etc...They have the code from the repo downloaded but I'm not sure how to connect them to the app? Do we run `aio app init` again? If so are there any specific options to choose as it is asking us about creating actions etc...When trying to do `aio app deploy` with the code form the repo we now get... "Error: missing ...

Views

118

Likes

0

Replies

2
Re: What options do I have for authenticating an action?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Ah! That's perfect! Thank you! I didn't know about the `require-whisk-auth`. Thank you 😄 Please could you provide a link to some docs around that? Thanks

Views

155

Likes

0

Replies

0
Re: What options do I have for authenticating an action?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Hi @duypnguyen the action will be triggered from another service within the company, that service sends a payload into the action. Thanks

Views

168

Likes

0

Replies

0
Re: What options do I have for authenticating an action?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
askdjfgh

Views

170

Likes

0

Replies

0
What options do I have for authenticating an action?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
I'm trying to create a headless application which essentially just transforms some JSON and puts it into the Adobe Analytics Data Insertion.The call into the analytics data insertion doesn't seem to require any authentication.I don't want to remove the `require-adobe-auth` from the manifest but I'm not sure what my options are if I do that?All I'm trying to do is to call an external service. I don't need to add an API or anything that requires auth but I'm just getting a bit lost in the document...

Views

180

Likes

0

Replies

7
Re: Can I remove a workspace after I have added it?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Thanks for the answer.

Views

89

Likes

0

Replies

0
Can I remove a workspace after I have added it?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
I added a workspace to my Project Firefly project but I can't find how to remove it.Is this possible?Thanks

Views

96

Likes

0

Replies

2
Re: Is there an SDK I can use for the data insertion API?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Thanks for the update. I'll continue on with the node-fetch approach. Thanks

Views

137

Likes

0

Replies

0
Is there an SDK I can use for the data insertion API?
Avatar

oliverf82757722

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

Views

193

Likes

0

Replies

4
How can I access the logs that are output by my actions?
Avatar

oliverf82757722

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

Views

135

Likes

0

Replies

1
Re: What are MetaScopes and how can I find what I need to...
Avatar

oliverf82757722

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 🙂

Views

179

Likes

0

Replies

0
Re: What are MetaScopes and how can I find what I need to...
Avatar

oliverf82757722

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...

Views

185

Likes

0

Replies

0
Re: What are MetaScopes and how can I find what I need to...
Avatar

oliverf82757722

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

Views

206

Likes

0

Replies

0
Re: What are MetaScopes and how can I find what I need to...
Avatar

oliverf82757722

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

Views

212

Likes

0

Replies

0
Re: What are MetaScopes and how can I find what I need to add?
Avatar

oliverf82757722

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

Views

225

Likes

0

Replies

0
What are MetaScopes and how can I find what I need to add?
Avatar

oliverf82757722

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...

Views

241

Likes

0

Replies

8
How do I create a headless application?
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
Please ignore

Views

228

Likes

0

Replies

5
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

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 😄

Views

203

Likes

0

Replies

0
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

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

Views

215

Likes

0

Replies

0
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

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

Views

238

Likes

0

Replies

0
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

oliverf82757722
- Project Firefly
@duypnguyen ah, that's really good to know, thanks!

Views

271

Likes

0

Replies

0
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

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 😄

Views

299

Likes

0

Replies

0
Betreff: Create an action that will be called by an exter...
Avatar

oliverf82757722

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.

Views

304

Likes

0

Replies

0
Create an action that will be called by an external service
Avatar

oliverf82757722

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...

Views

336

Likes

0

Replies

12
Authenticating an event webhook from the hash of the body
Avatar

oliverf82757722

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...

Views

536

Likes

0

Replies

0
Likes given to