PageSourceSearch

https://www.medalo.ai/js/GoogleCallBack.Do4smxsy.js

js medalo.ai collected 2026-10-05 12:16:39 UTC 1,695 bytes, 1 lines download raw bytes

1import{_ as t}from"./index.VRUltArI.js";import{c as s,z as r,b as a}from"./vendor-vue.DQyCMu5a.js";import"./vendor-misc.DlM92jT6.js";import"./vendor-vuetify.Dvtop9lb.js";import"./vendor-axios.B9ygI19o.js";import"./vendor-moment.C5S46NFB.js";import"./vendor-quill.BiOiM682.js";import"./vendor-date-io.C_LH91PS.js";import"./vendor-maps.B8dKhpM0.js";/* empty css                     */const c={name:"GoogleCallBack",data(){return{googleAccessToken:null}},mounted(){if(this.getGoogleAccessTokenFromURL(),!this.googleAccessToken){alert("세션이 만료되었습니다. 다시 로그인해 주세요."),this.clearAuthQueryParams(),this.$router.replace("/chat");return}this.googleLoginApi()},methods:{getGoogleAccessTokenFromURL(){const e=new URL(window.location.href).searchParams.get("token");this.googleAccessToken=e,this.googleAccessToken&&this.clearAuthQueryParams()},googleLoginApi(){const o={success:e=>{e.code==="S"?(this.setLoginInfo(e),this.setLastLoginProvider("google"),this.$router.replace("/chat")):(alert(e.message||"SNS 인증에 실패했습니다."),this.$router.replace("/chat"))},error:e=>{console.log(e),alert(e.message)}};this.googleAccessToken?this.$api.chat.otherSnsAuthenticate({token:this.googleAccessToken},o):(alert("토큰값이 설정되지 않았습니다."),this.$router.replace("/chat"))},clearAuthQueryParams(){const o=new URL(window.location.href);o.searchParams.delete("code"),o.searchParams.delete("state"),o.searchParams.delete("token"),window.history.replaceState({},document.title,o.pathname)}}};function l(o,e,n,i,h,g){return a(),s("div",null,e[0]||(e[0]=[r("h1",null,"로그인 처리 중입니다...",-1)]))}const $=t(c,[["render",l]]);export{$ 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.