Detecting Kiosk Mode Status for PWA App and Extension

104 views
Skip to first unread message

Yagna Pathak

unread,
Sep 13, 2023, 8:24:46 AM9/13/23
to ChromiumOS Discussion
Unfortunately, we don't currently have access to a Chromebook for testing purposes, which is why we're encountering issues at this step.

To provide some context, we're working with the extension located at GitHub - jnury/verified-access-extension, and we've made modifications to integrate the v2 API. In step 4 of the process, we're adding an email ID, and in step 5, there's a mention of creating an API server for sending a challenge response and identity. Since we need to detect kiosk mode, we're sending the expected identity as 'KIOSK_MODE'.


Our challenge arises when we try to access the network service found here (https://github.com/catac/verified-access-service). However, it appears to be an older version, and we consistently receive 400 error codes indicating that our requests contain invalid arguments.


Our question is whether it's possible to directly call the (https://verifiedaccess.googleapis.com/v2/challenge:verify) API, or if we must follow the example that involves using the gRPC library, as described in the document (https://developers.google.com/chrome/verified-access/developer-guide).


Any insights or guidance you can provide would be greatly appreciated.


dragon788

unread,
Sep 13, 2023, 11:19:04 AM9/13/23
to ya...@solvative.com, ChromiumOS Discussion
Without an enrolled Chromebook, I don't think you're going to get very far.

See the first paragraph in the setup for verified access example you supplied.


--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss
---
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-os-dis...@chromium.org.

Yagna Pathak

unread,
Sep 13, 2023, 11:41:40 AM9/13/23
to dragon788, ChromiumOS Discussion
Hey there

Thanks for getting back to me. What about step 5 where we need to set up a network services API to verify challenge response? Can you please guide me?

Thank you so much 🙂
Reply all
Reply to author
Forward
0 new messages