Description
A web action does not have web in the url reported by the CLI, thus when calling it, it is treated as a non-web action and requires auth.
Might be relevant:
- the
web-export annotation is in the wrong place
- the
web-custom-options annotation is present
Expected
The web action url reported by the CLI has a valid web url.
Actual
The web action url reported by the CLI does not have a valid web url.
Logs for Repro
aio app deploy output:
$ aio app deploy
✔ Built 11 action(s) for 'application'
ℹ No frontend or a build already exists, skipping frontend build for 'application'
✔ Deployed 20 action(s) for 'application'
no frontend, skipping frontend deploy 'application'
Your deployed actions:
web actions:
...
-> https://foo.adobeioruntime.net/api/v1/bar/init-target
...
non-web actions:
...
-> https://foo.adobeioruntime.net/api/v1/bar/__init-target
...
manifest.yaml:
packages:
foobar:
license: Apache-2.0
actions:
__init-target:
function: actions/init-target/index.js
runtime: 'nodejs:22'
limits:
memorySize: 1024
annotations:
require-adobe-auth: false
final: true
sequences:
init-target:
actions: '__init-target'
web-export: raw
annotations:
web-custom-options: true
Description
A web action does not have
webin the url reported by the CLI, thus when calling it, it is treated as a non-web action and requires auth.Might be relevant:
web-exportannotation is in the wrong placeweb-custom-optionsannotation is presentExpected
The web action url reported by the CLI has a valid web url.
Actual
The web action url reported by the CLI does not have a valid web url.
Logs for Repro
aio app deployoutput:manifest.yaml: