Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
e6d588d
feat: react-native TokenStorage
jaredperreault-okta Mar 27, 2026
27027c4
linter fix
jaredperreault-okta Apr 30, 2026
4e7b7bd
DataStore backed Android TokenStorage
jaredperreault-okta May 4, 2026
bf47206
updates unit tests
jaredperreault-okta May 4, 2026
c6965bf
fixes unit tests in CI
jaredperreault-okta May 4, 2026
b3f9db5
CI fix
jaredperreault-okta May 4, 2026
4d26c87
ci fix
jaredperreault-okta May 4, 2026
7f64f7d
fixes tests
jaredperreault-okta May 4, 2026
f7bc9d4
test fix
jaredperreault-okta May 4, 2026
aeb029f
ci fix
jaredperreault-okta May 4, 2026
991af56
ci test fix
jaredperreault-okta May 4, 2026
1990106
ci fix
jaredperreault-okta May 4, 2026
1ebec2b
ci fix
jaredperreault-okta May 4, 2026
4193daf
ci fix
jaredperreault-okta May 4, 2026
bd632e5
ci fix
jaredperreault-okta May 4, 2026
a682a40
ci fix
jaredperreault-okta May 4, 2026
af05449
fixes tests finally
jaredperreault-okta May 4, 2026
d77e419
fix
jaredperreault-okta May 4, 2026
fa10b68
Android: uses TPM when available
jaredperreault-okta May 6, 2026
397053a
adds 3p notice files
jaredperreault-okta May 6, 2026
751256b
progress
jaredperreault-okta May 13, 2026
d24bdff
progress
jaredperreault-okta May 19, 2026
5d039e7
android e2e working
jaredperreault-okta May 20, 2026
e7c9870
ci fix
jaredperreault-okta May 20, 2026
ec8545b
ci fix
jaredperreault-okta May 20, 2026
68f3202
ci fix
jaredperreault-okta May 20, 2026
0016381
ci fix
jaredperreault-okta May 20, 2026
fd869b9
ci fix android
jaredperreault-okta May 20, 2026
d38e6c1
ci fix
jaredperreault-okta May 20, 2026
dd2405e
ci fix
jaredperreault-okta May 20, 2026
fcaa58f
ci fix
jaredperreault-okta May 20, 2026
ee59484
ci fix
jaredperreault-okta May 20, 2026
4db26c4
ci fix
jaredperreault-okta May 20, 2026
56349db
ci fix
jaredperreault-okta May 20, 2026
a64646e
ci fix
jaredperreault-okta May 20, 2026
76a6009
ci fix
jaredperreault-okta May 21, 2026
4add277
ci fix
jaredperreault-okta May 21, 2026
496db35
ci fix
jaredperreault-okta May 21, 2026
b99916b
ci fix
jaredperreault-okta May 21, 2026
171596d
ci fix
jaredperreault-okta May 21, 2026
ce2ad4e
ci fix
jaredperreault-okta May 21, 2026
1692baf
ci fix
jaredperreault-okta May 21, 2026
cbc98a2
ci fix
jaredperreault-okta May 21, 2026
1165ffd
ci fix
jaredperreault-okta May 21, 2026
781357e
ci fix
jaredperreault-okta May 21, 2026
cc55dc2
should actually fix ci
jaredperreault-okta May 21, 2026
cb6f233
fixes webcrypto ci
jaredperreault-okta May 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 81 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ executors:
resource_class: m4pro.medium

jobs:
test-android:
test-rn-webcrypto-android:
executor:
name: android/android_machine
resource_class: large
Expand All @@ -34,10 +34,16 @@ jobs:
- gradle-

- run:
name: Run Android Unit and Integration Tests
name: Setup Node and install dependencies
command: |
cd packages/react-native-webcrypto-bridge/android
./gradlew testDebugUnitTest --info
npm i -g yarn@1.22.22
yarn install --frozen-lockfile

- run:
name: Run React Native Platform Android Tests
command: |
cd packages/react-native-platform/android
./gradlew testDebugUnitTest -PnewArchEnabled=true --info

- save_cache:
key: gradle-{{ checksum "packages/react-native-webcrypto-bridge/android/build.gradle" }}
Expand All @@ -52,7 +58,7 @@ jobs:
path: packages/react-native-webcrypto-bridge/android/build/reports
destination: android-test-reports

test-ios:
test-rn-webcrypto-ios:
executor: macos
steps:
- checkout
Expand Down Expand Up @@ -80,9 +86,77 @@ jobs:
path: packages/react-native-webcrypto-bridge/ios/.build
destination: ios-build-artifacts

test-rn-platform-android:
executor:
name: android/android_machine
resource_class: large
tag: default
steps:
- checkout

- restore_cache:
keys:
- gradle-rn-platform-{{ checksum "packages/react-native-platform/android/build.gradle" }}
- gradle-rn-platform-

- run:
name: Setup Node and install dependencies
command: |
npm i -g yarn@1.22.22
yarn install --frozen-lockfile

- run:
name: Run React Native Platform Android Tests
command: |
cd packages/react-native-platform/android
./gradlew testDebugUnitTest -PnewArchEnabled=true --info

- save_cache:
key: gradle-rn-platform-{{ checksum "packages/react-native-platform/android/build.gradle" }}
paths:
- ~/.gradle
- .gradle

- store_test_results:
path: packages/react-native-platform/android/build/test-results

- store_artifacts:
path: packages/react-native-platform/android/build/reports
destination: react-native-platform-android-test-reports

test-rn-platform-ios:
executor: macos
steps:
- checkout

- restore_cache:
keys:
- swift-spm-rn-platform-{{ checksum "packages/react-native-platform/ios/Package.swift" }}
- swift-spm-rn-platform-

- run:
name: Run React Native Platform iOS Tests
command: |
cd packages/react-native-platform/ios
swift test --verbose

- save_cache:
key: swift-spm-rn-platform-{{ checksum "packages/react-native-platform/ios/Package.swift" }}
paths:
- packages/react-native-platform/ios/.build

- store_test_results:
path: packages/react-native-platform/ios/.build/test-results

- store_artifacts:
path: packages/react-native-platform/ios/.build
destination: react-native-platform-ios-build-artifacts

workflows:
version: 2
build_and_test:
jobs:
- test-android
- test-ios
- test-rn-webcrypto-android
- test-rn-webcrypto-ios
- test-rn-platform-android
- test-rn-platform-ios
9 changes: 8 additions & 1 deletion e2e/apps/react-native-oidc/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import envModule from '@repo/env';
envModule.setEnvironmentVarsFromTestEnv(__dirname);
const env: any = {};
// List of environment variables made available to the app
['ISSUER', 'NATIVE_CLIENT_ID', 'USE_DPOP'].forEach((key) => {
['ISSUER', 'NATIVE_CLIENT_ID', 'NATIVE_REDIRECT_URI', 'USE_DPOP'].forEach((key) => {
if (!process.env[key]) {
console.warn(`Environment variable ${key} should be set for development. See README.md`);
}
Expand All @@ -18,13 +18,20 @@ export default ({ config }: ConfigContext) => ({
extra: {
env
},
newArchEnabled: true,
"android": {
"package": "com.anonymous.reporeactnativeoidc"
},
"ios": {
"bundleIdentifier": "com.anonymous.reporeactnativeoidc"
},
scheme: "com.oktapreview.jperreault-test",
autolinking: {
searchPaths: [
"../../node_modules",
"../../packages"
]
},
intentFilters: [
{
action: "VIEW",
Expand Down
45 changes: 0 additions & 45 deletions e2e/apps/react-native-oidc/app/(login)/_layout.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions e2e/apps/react-native-oidc/app/(login)/index.tsx

This file was deleted.

106 changes: 0 additions & 106 deletions e2e/apps/react-native-oidc/app/(login)/token.tsx

This file was deleted.

Loading