Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 4.5 #473

Merged
merged 79 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
31021dd
feat(shared-network): new request header
juanManuel05 Mar 25, 2024
22a3550
fix(javascript-sdk): fix-exports-update-protect
ryanbas21 Mar 27, 2024
ff874df
Merge pull request #433 from ForgeRock/fix-ping-protect-and-sdk
ryanbas21 Mar 27, 2024
478f9f7
Merge pull request #432 from ForgeRock/new-request-header
juangarmendia05 Mar 28, 2024
867aadc
fix(ping-protect): update-module-type
ryanbas21 Mar 28, 2024
86c8279
Merge pull request #434 from ForgeRock/ping-protect-module-type
ryanbas21 Mar 28, 2024
1a05074
fix(javascript-sdk): circular-dep
ryanbas21 Mar 28, 2024
642a32b
Merge pull request #435 from ForgeRock/circular-dep
ryanbas21 Mar 28, 2024
5190596
fix(ping-protect): update-signals-sdk
ryanbas21 Apr 8, 2024
dc11b74
fix(javascript-sdk): change x-requested-platform to opt-in
cerebrl Apr 8, 2024
eb4b9eb
Merge pull request #438 from ForgeRock/fix_platform-header-configurable
cerebrl Apr 8, 2024
1b46f5f
Merge pull request #437 from ForgeRock/update-protect-signals-version
ryanbas21 Apr 8, 2024
134b82f
build(ping-protect): update-module-resolution
ryanbas21 Apr 10, 2024
cd0a865
Merge pull request #439 from ForgeRock/update-ping-protect-tsconfig
ryanbas21 Apr 10, 2024
8eff786
fix(ping-protect): bundling
ryanbas21 Apr 11, 2024
3e4cf21
Merge pull request #440 from ForgeRock/update-ping-protect-import
ryanbas21 Apr 11, 2024
7727813
build: update-repo
ryanbas21 Feb 20, 2024
da8689f
build: update-configs-and-extensions
ryanbas21 Apr 10, 2024
bc9a3e9
Merge pull request #423 from ForgeRock/update-nx
ryanbas21 Apr 16, 2024
92df8d4
fix(ping-protect): update-ping-protect-signals-sdk
ryanbas21 Apr 17, 2024
0e5f161
Merge pull request #441 from ForgeRock/update-signals-sdk
ryanbas21 Apr 17, 2024
561a2c9
fix(javascript-sdk): add logout redirect for pingone
cerebrl May 8, 2024
3330490
refactor(javascript-sdk): keep-idtoken-in-closure
ryanbas21 May 9, 2024
cb6977d
test(javascript-sdk): update-test-for-redirect
ryanbas21 May 13, 2024
0f84909
Merge pull request #443 from ForgeRock/fix_central-logout-oidc
cerebrl May 14, 2024
ac565bf
build(javascript-sdk): update-build-to-vite-lib
ryanbas21 Apr 23, 2024
20b2c00
build(javascript-sdk): update-build-mjs
ryanbas21 May 14, 2024
91fe493
Merge pull request #442 from ForgeRock/update-build-sdk
ryanbas21 May 15, 2024
655f02c
chore(javascript-sdk): package-versions
ryanbas21 May 15, 2024
8904bb2
Merge pull request #444 from ForgeRock/package-versions
ryanbas21 May 15, 2024
e17e65e
chore(javascript-sdk): changelogs
ryanbas21 May 15, 2024
6eac0fc
Merge pull request #445 from ForgeRock/update-changelog
ryanbas21 May 15, 2024
b34e458
feat(javascript-sdk): refactor authorize URL utilities for DaVinci
cerebrl Jul 1, 2024
212fd05
build: initial-commit-mock-api
ryanbas21 Jun 29, 2024
aa69c66
test: mock-api-v2
ryanbas21 Jul 2, 2024
7c04777
Merge pull request #449 from ForgeRock/feat_refactor-authorize-url-ut…
cerebrl Jul 3, 2024
786a7fd
refactor: mock-api
ryanbas21 Jul 9, 2024
6c85753
refactor: refactor services
ryanbas21 Jul 11, 2024
3805333
refactor: update-types
ryanbas21 Jul 11, 2024
0d03656
refactor: use-layers
ryanbas21 Jul 11, 2024
4868178
style: rename-files-and-imports
ryanbas21 Jul 12, 2024
5c6fee1
test: write-services-test
ryanbas21 Jul 12, 2024
dc0fc9f
refactor: tests
ryanbas21 Jul 13, 2024
05cee74
refactor: update-effect-http
ryanbas21 Jul 15, 2024
9387909
test: add-more-tests
ryanbas21 Jul 15, 2024
8cb7374
refactor: opaque-types
ryanbas21 Jul 16, 2024
fcee976
test: add-new-mock-to-autoscript
ryanbas21 Jul 17, 2024
8555085
Merge pull request #450 from ForgeRock/mock-api-v2
ryanbas21 Jul 22, 2024
93130f3
chore: update-nx
ryanbas21 Jul 22, 2024
d3d4e55
Merge pull request #451 from ForgeRock/update-nx
ryanbas21 Jul 22, 2024
57e7c80
feat: ping-fed-central-login
ryanbas21 Jul 24, 2024
6893d3b
Merge pull request #452 from ForgeRock/pingfederate-central-login
ryanbas21 Jul 24, 2024
8b4656c
feat(javascript-sdk): recaptcha-enterprise
ryanbas21 Aug 27, 2024
006cec9
feat: recaptcha-enterprise-callback
ryanbas21 Sep 3, 2024
b1de69e
chore: add-test
ryanbas21 Sep 3, 2024
cd5a481
test: fix-pingone-test
ryanbas21 Sep 3, 2024
221818e
Merge pull request #459 from ForgeRock/recaptcha-enterprise
ryanbas21 Sep 3, 2024
a3494b9
feat: support-metadata-marketplace-protect
ryanbas21 Jul 29, 2024
4277f4f
chore: pr-comments
ryanbas21 Sep 3, 2024
736608c
Merge pull request #453 from ForgeRock/metadata-marketplace
ryanbas21 Sep 4, 2024
e688ec4
chore: update-nx
ryanbas21 Sep 25, 2024
ab4bf12
chore: use-inferred-tasks
ryanbas21 Sep 25, 2024
01e150b
chore: move dist to package dir
ryanbas21 Sep 25, 2024
626317b
chore: use pnpm
ryanbas21 Sep 26, 2024
daf7ea6
chore: fix-inferred-tasks-setup
ryanbas21 Sep 27, 2024
e995c40
chore: use-cloud-in-ci-check
ryanbas21 Sep 30, 2024
4f5600f
Merge pull request #461 from ForgeRock/update-nx-19.8
ryanbas21 Oct 1, 2024
f7bd1eb
chore: fix-deps
ryanbas21 Oct 1, 2024
d8795d9
Merge pull request #465 from ForgeRock/fix-deps
ryanbas21 Oct 1, 2024
71e3714
chore: fix-side-effects
ryanbas21 Oct 9, 2024
e99a643
Merge pull request #469 from ForgeRock/add-sideeffects
ryanbas21 Oct 9, 2024
4bbc96a
chore: fix-subpath
ryanbas21 Oct 9, 2024
39620c4
Merge pull request #470 from ForgeRock/fix-subpath
ryanbas21 Oct 9, 2024
88ece3f
fix(javascript-sdk): allowed-error-messages
ryanbas21 Oct 9, 2024
d26567d
Merge pull request #471 from ForgeRock/add-new-errormessage
ryanbas21 Oct 10, 2024
b4e0fbe
fix(javascript-sdk): change pkce utility to return storage function
cerebrl Oct 11, 2024
f26b7c3
Merge pull request #472 from ForgeRock/fix_pkce-util
ryanbas21 Oct 11, 2024
fb076c2
chore: update-changelogandpackage
ryanbas21 Oct 15, 2024
9f1d0ec
Merge pull request #475 from ForgeRock/release-process
ryanbas21 Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 0 additions & 13 deletions .changeset/config.json

This file was deleted.

46 changes: 0 additions & 46 deletions .devcontainer/Dockerfile

This file was deleted.

32 changes: 0 additions & 32 deletions .devcontainer/devcontainer.json

This file was deleted.

32 changes: 0 additions & 32 deletions .dockerignore

This file was deleted.

25 changes: 1 addition & 24 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@
# Core Variables (required for all samples)
AM_URL=$AM_URL
REALM_PATH=$REALM_PATH
SCOPE=$SCOPE
TIMEOUT=$TIMEOUT
WEB_OAUTH_CLIENT=$WEB_OAUTH_CLIENT

# Additional for Central & Embedded Login
REDIRECT_URI=$REDIRECT_URI
CENTRAL_LOGIN_CLIENT=$CENTRAL_LOGIN_CLIENT

# Embedded Login Only
TREE=$TREE

# Additional for Angular & React Samples
# APP_URL=$APP_URL # not using this for preview-environment instead, we can use window.location.href
API_URL=$API_URL
DEBUGGER_OFF=true
DEVELOPMENT=$DEVELOPMENT
JOURNEY_LOGIN=$JOURNEY_LOGIN
JOURNEY_REGISTER=$JOURNEY_REGISTER
PORT=$PORT
REST_OAUTH_CLIENT=$REST_OAUTH_CLIENT
REST_OAUTH_SECRET=$REST_OAUTH_SECRET
NX_ADD_PLUGINS=false
21 changes: 17 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,31 @@
{
"files": ["*.ts", "*.tsx", "!*.spec.ts", "!*.test*.ts"],
"extends": ["plugin:@nx/typescript"],

"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{ "ignoreRestSiblings": true }
]
{
"ignoreRestSiblings": true
}
],
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
"rules": {
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": "*.json",
Expand Down
105 changes: 20 additions & 85 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,96 +7,31 @@ env:
NX_CLOUD_DISTRIBUTED_EXECUTION: true
jobs:
pr:
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v4
with:
run_install: false
- uses: actions/setup-node@v4
id: cache
with:
node-version: '18.12.1'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Setup custom host for sdkapp.example.com
run: |
sudo echo "127.0.0.1 localhost sdkapp.example.com auth.example.com api.example.com user.example.com" | sudo tee -a /etc/hosts
sudo echo "::1 ip6-localhost ip6-loopback" | sudo tee -a /etc/hosts
node-version: '20.10.0'
cache: 'pnpm'

- name: npm install
# if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
env:
DEBUG: pw:install
# PLAYWRIGHT_BROWSERS_PATH: 0
PLAYWRIGHT_SKIP_BROWSERS_DOWNLOAD: 1
- run: npx playwright install chromium firefox webkit
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
with:
main-branch-name: 'develop'
- run: npm install @nrwl/nx-cloud
- run: npx nx-cloud start-ci-run
- run: pnpm install --frozen-lockfile

- run: npx nx affected --t build --parallel --max-parallel=3
- run: npx nx affected --t lint --parallel --max-parallel=3
- run: npx nx affected --t test --parallel --max-parallel=3
- run: npx nx affected --t test --configuration=integration
- run: npx nx affected -t e2e --exclude=token-vault-suites
# It's important that we always run this step, otherwise in the case of any failures in preceding non-Nx steps, the agents will keep running and waste billable minutes
- name: Stop All Agents
if: ${{ always() }}
run: npx nx-cloud stop-all-agents
# This line enables distribution
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci" --verbose

- name: 'Artifacts'
uses: actions/upload-artifact@v3
with:
retention-days: 5
if-no-files-found: ignore
path: |
${{ github.workspace }}/e2e/autoscript-suites/test-results
- name: Slack Notify
id: slack
uses: slackapi/[email protected]
with:
payload: |
{
"title": "${{ github.event.pull_request.title }}",
"author": "${{ github.event.pull_request.user.login }}",
"pr_number": "${{ github.event.pull_request.number}}",
"url": "${{ github.event.pull_request.html_url }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
agents:
runs-on: macos-latest
name: Agent Mac
strategy:
matrix:
agent: [1, 2, 3]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{github.event.pull_request.head.repo.full_name}}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16.13.1'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci
if: steps.cache.outputs.cache-hit != 'true'
env:
# PLAYWRIGHT_BROWSERS_PATH: 0
PLAYWRIGHT_SKIP_BROWSERS_DOWNLOAD: 1
- run: npm install @nrwl/nx-cloud
- name: Setup custom host for sdkapp.example.com
run: |
sudo echo "127.0.0.1 sdkapp.example.com auth.example.com api.example.com user.example.com" | sudo tee -a /etc/hosts
sudo echo "::1 ip6-localhost ip6-loopback" | sudo tee -a /etc/hosts
- run: npx playwright install chromium firefox webkit
- name: Start Nx Agent ${{ matrix.agent }}
run: npx nx-cloud start-agent
- run: pnpm exec playwright install

- uses: nrwl/nx-set-shas@v4
# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track develop origin/develop

- run: pnpm exec nx-cloud record -- nx format:check --verbose
- run: pnpm exec nx affected -t build lint test e2e-ci --verbose
38 changes: 0 additions & 38 deletions .github/workflows/commit-check.yml

This file was deleted.

Loading
Loading