Closed SureshKumarToverto closed 10 months ago
Describe the bug When we test it on IOS 14+ devices it' still uses the Device check instead of AppAttest.
To Reproduce github.com/TamilselvanMariyappan/capacitor-firebase-authentication-demo/tree/AppAttest-AppCheck
Steps to reproduce By logging the device Get bearer token response, inspect with JWT response you can see the response
Expected behavior { "sub": "1:06:ios:1b3f479e7*", "aud": [ "projects/85***", "projects/ABC" ], "provider": "device_check_app_attest", "iss": "https://firebaseappcheck.googleapis.com/", "exp": 1695293981, "iat": 1695290381, "jti": "EBdv4gM8*****i1j1lMX" }`
Current behavior { "sub": "1:06:ios:3b262cd82", "aud": [ "projects/85***", "projects/ABC" ], "provider": "device_check_device_identification", "iss": "https://firebaseappcheck.googleapis.com/", "exp": 1695284564, "iat": 1695280964, "jti": "G6vqvRPv**60tRmR1" } Current behavior - Screenshots
Smartphone (please complete the following information):
- Device: [iPhone6]
I close this as duplicate of https://github.com/capawesome-team/capacitor-firebase/issues/490
Describe the bug When we test it on IOS 14+ devices it' still uses the Device check instead of AppAttest.
To Reproduce github.com/TamilselvanMariyappan/capacitor-firebase-authentication-demo/tree/AppAttest-AppCheck
Steps to reproduce By logging the device Get bearer token response, inspect with JWT response you can see the response
Expected behavior { "sub": "1:06:ios:1b3f479e7*", "aud": [ "projects/85***", "projects/ABC" ], "provider": "device_check_app_attest", "iss": "https://firebaseappcheck.googleapis.com/", "exp": 1695293981, "iat": 1695290381, "jti": "EBdv4gM8*****i1j1lMX" }`
Current behavior { "sub": "1:06:ios:3b262cd82", "aud": [ "projects/85***", "projects/ABC" ], "provider": "device_check_device_identification", "iss": "https://firebaseappcheck.googleapis.com/", "exp": 1695284564, "iat": 1695280964, "jti": "G6vqvRPv**60tRmR1" } Current behavior - Screenshots
Smartphone (please complete the following information):
- Device: [iPhone6]