Skip to content

Commit b236418

Browse files
authored
use oauth_s2s tokens on smoke tests (#179)
* use oauth_s2s tokens on smoke tests * missing scopes * typo * typo 2
1 parent 7b7812f commit b236418

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/app-smoke-test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,15 @@ jobs:
4040
uses: adobe/[email protected]
4141
with:
4242
os: ${{ matrix.os }}
43-
command: auth
44-
CLIENTID: ${{ secrets.JWT_CLIENTID }}
45-
CLIENTSECRET: ${{ secrets.JWT_CLIENT_SECRET }}
46-
TECHNICALACCOUNTID: ${{ secrets.JWT_TECH_ACC_ID }}
47-
IMSORGID: ${{ secrets.JWT_ORG_ID }}
48-
KEY: ${{ secrets.JWT_PRIVATE_KEY }}
43+
command: oauth_sts
44+
CLIENTID: ${{ secrets.IMS_CLIENT_ID }}
45+
CLIENTSECRET: ${{ secrets.IMS_CLIENT_SECRET }}
46+
IMSORGID: ${{ secrets.IMS_ORG_ID }}
47+
SCOPES: ${{ secrets.IMS_SCOPES }}
48+
# we are using dummy values as they are not needed to generate oauth_s2s tokens
49+
# see https://github.com/adobe/aio-lib-ims-oauth/issues/114
50+
TECHNICALACCOUNTID: dummy_id
51+
TECHNICALACCOUNTEMAIL: dummy_email
4952
- id: create
5053
name: create app with no extensions
5154
run: |

0 commit comments

Comments
 (0)