modeling-app: [BUG]: Must be a zoo employee to access the preview environment

Describe the bug

Problem Description Hey! I’m trying to get a local build up and am running into problems with logging in.

I’ve enabled 3rd party cookies, but when trying to move past the /signin page I keep getting redirected back to signing in.

Error Message: (timestamp 00:36) API Error: You must be a zoo employee to access the preview environment | authMachine.ts:149

However, for a brief instance I am routed to the modeling app (1 frame between 00:44-00:45).

Did a quick screen recording, hope it helps.

Environment Details:

  • Yarn Version: 1.22.22
  • Operating System: MacOS Sonoma 14.4
  • Device: 2019 MacBook Pro 16-inch
  • Browser: Chrome Version 123.0.6312.58 (Official Build) (x86_64)
  • Commit Hash: 68b61c9

Steps to Reproduce

  1. Follow the steps in “Running a development build”
  2. Go to localhost:3000/signin
  3. Attempt to sign in with a variety of methods (github,google, email)

Expected Behavior

view the modeling app - ideally /file/new/onboarding

Screenshots and Recordings

https://github.com/KittyCAD/modeling-app/assets/21110240/e9884e74-807e-4ecf-b399-21f02f0f0b53

Desktop OS

MacOS Sonoma 14.4.1

Browser

Chrome Version

Version

123.0.6312.58 (Official Build) (x86_64)

Additional Context

localhost-1711407224560.log

About this issue

  • Original URL
  • State: open
  • Created 3 months ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

throw it in an email to me 😃

hmm yeah we might have to just whitelist you on dev

perfect yes!