Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change proctorio redirect to static page #228

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

zacharis278
Copy link
Contributor

Follow up to #227 which didn't work.

Problem

The request I thought was getting blocked/replaced by the extension still goes through and because it's a 302 response it hijacks the whole page and redirects before the extension can launch. The result is you get stuck redirecting to getproctorio.com always and can't enter the exam.

Solution

We need to use a static page and either have the learner click a link or somehow detect the extension and redirect via javascript. I'm working with Proctorio on what the best path forward would be there but this should fix the redirect problem.

Note: I added some temporary body content to this page just to see how it is or isn't rendered. It could cause some problems but there's no way to test this locally.

Copy link
Member

@alangsto alangsto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, otherwise LGTM

@@ -0,0 +1 @@
loading Proctorio extension...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: newline

@zacharis278 zacharis278 force-pushed the zhancock/proc-redirect-page branch from c8771cf to bc57c8e Compare December 18, 2023 14:00
@zacharis278 zacharis278 merged commit 1f95b84 into main Dec 18, 2023
8 checks passed
@zacharis278 zacharis278 deleted the zhancock/proc-redirect-page branch December 18, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants