PageSourceSearch

https://bold.dk/_nuxtv3/callback-client.CUEfkEIv.js

js bold.dk collected 2026-09-24 17:41:17 UTC 793 bytes, 1 lines download raw bytes

1import{d as a,r as l,o as r,x as u,a as i,b as f}from"./entry.Qot5eQPL.js";const k=a({__name:"callback-client",setup(h){const o=l(null),e=l(null);return r(async()=>{const n=c=>{const s=document.cookie.match(new RegExp("(^| )"+c+"=([^;]+)"));return s?decodeURIComponent(s[2]):null};if(console.log("Access Token:",o),o.value=n("access_token"),console.log("Refresh Token:",o.value),e.value=n("refresh_token"),!o.value||!e.value){console.error("No access or refresh token found in cookies."),window.location.href="/login";return}const t=u().autoAuth0Login;await t(o,e).then(()=>{console.log("Auto login successful"),window.location.href="/profil"}).catch(c=>{console.error("Auto login failed:",c),window.location.href="/login"})}),(n,t)=>(f(),i("p",null,"Logging in..."))}});export{k as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.