Redirect on deployed instance is to okta page

okta auth works on localhost running Vue in dev mode but when I build and deploy it to an AWS s3 bucket login redirects to “getting started with okta” dev admin page. I’m new to okta so (hopefully) I’m making some obvious mistake. I mostly followed the steps in this article: Deploy Your Secure Vue.js App to AWS ← Alligator.io. I say mostly because I didn’t create a cloudfront, I just put the s3 bucket URL for the redirect when I configured the app on okta. On localhost dev mode it does as expected (redirects to the “Secure” page after login) but on the deployed instance, it presents the login prompt but when I log in it either redirects to my Okta domain (dev-.okta.com ) or it this comes in the browser:
404 Not Found
Code: NoSuchKey
Message: The specified key does not exist.
Key: implicit/callback
RequestId: 1JHSXXC49MR7RXN3
HostId: Pg/kqAVw652vWpuPiimGWDW8xoCNiXBnhMormfvX1H2mYWmeRMv8TpYaXpnkyWIpphuLw1vhVGQ=

Can anyone please point me in the right direction?