diff --git a/authentik/core/tests/test_devices_api.py b/authentik/core/tests/test_devices_api.py index 0f3d584506ed..4bac6cd8ca90 100644 --- a/authentik/core/tests/test_devices_api.py +++ b/authentik/core/tests/test_devices_api.py @@ -29,7 +29,7 @@ def test_user_api(self): self.assertEqual(response.status_code, 200) body = loads(response.content.decode()) self.assertEqual(len(body), 1) - self.assertEqual(body[0]["pk"], self.device1.pk) + self.assertEqual(body[0]["pk"], str(self.device1.pk)) def test_user_api_as_admin(self): """Test user API""" @@ -54,4 +54,6 @@ def test_admin_api(self): self.assertEqual(response.status_code, 200) body = loads(response.content.decode()) self.assertEqual(len(body), 2) - self.assertEqual({body[0]["pk"], body[1]["pk"]}, {self.device1.pk, self.device2.pk}) + self.assertEqual( + {body[0]["pk"], body[1]["pk"]}, {str(self.device1.pk), str(self.device2.pk)} + ) diff --git a/web/src/admin/stages/authenticator_endpoint_gdtc/AuthenticatorEndpointGDTCStageForm.ts b/web/src/admin/stages/authenticator_endpoint_gdtc/AuthenticatorEndpointGDTCStageForm.ts index 93e2c58eb272..414e42d14753 100644 --- a/web/src/admin/stages/authenticator_endpoint_gdtc/AuthenticatorEndpointGDTCStageForm.ts +++ b/web/src/admin/stages/authenticator_endpoint_gdtc/AuthenticatorEndpointGDTCStageForm.ts @@ -36,10 +36,10 @@ export class AuthenticatorEndpointGDTCStageForm extends BaseStageForm ${msg( - "Stage used to configure a duo-based authenticator. This stage should be used for configuration flows.", + "Stage used to verify users' browsers using Google Chrome Device Trust. This stage can be used in authentication/authorization flows.", )} - + - + ${msg("Google Verified Access API")}
Create new key**. 3. In the Create modal box, select JSON as the key type, and then click **Create**. A pop-up displays with the private key, and the key is saved to your computer as a JSON file. - Later, when you create your authentik provider for Google Workspace, you will add this key in the **Credentials** field. + Later, when you create the stage in authentik, you will add this key in the **Credentials** field. 4. On the service account page, click the **Details** tab, and expand the **Advanced settings** area. 5. Log in to the Admin Console, and then navigate to **Chrome browser -> Connectors**. 6. Click on **New Provider Configuration**.