Fix apple auth scope #4841
tests.yml
on: push
Annotations
3 errors
|
Run all tests
Process completed with exit code 1.
|
|
test/authcode.test.ts > AuthCodeHandler > commitAuth() > Should handle Apple OAuth URL:
packages/wallet/wdk/test/authcode.test.ts#L314
AssertionError: expected 'https://appleid.apple.com/auth/author…' to contain 'scope=name+email'
Expected: "scope=name+email"
Received: "https://appleid.apple.com/auth/authorize?client_id=apple-client-id&redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&response_type=code&scope=name%20email&state=0x312d8eef3deea946bc65b53146de2b5a1e2d818157a376a224dec8ea1f2602de"
❯ test/authcode.test.ts:314:22
|
|
Run all tests
@0xsequence/wallet-wdk#test: command (/home/runner/work/sequence.js/sequence.js/packages/wallet/wdk) /home/runner/setup-pnpm/node_modules/.bin/.tools/pnpm/10.24.0/bin/pnpm run test exited (1)
|