{"version":3,"sources":["webpack:///./src/renderer/modules/auth/views/AuthenticationCallback/AuthenticationCallback.vue?28bb","webpack:///./src/renderer/modules/auth/views/AuthenticationCallback/AuthenticationCallback.vue","webpack:///./src/renderer/modules/auth/views/AuthenticationCallback/AuthenticationCallback.vue?e5c9","webpack:///./src/renderer/modules/auth/views/AuthenticationCallback/AuthenticationCallback.vue?4619","webpack:///./src/renderer/modules/auth/views/AuthenticationCallback/index.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","staticRenderFns","userModule","$store","sharedModule","console","log","stopRender","redirectPath","oidcSignInCallback","error","signInReturnPath","localStorage","getItem","removeItem","$router","push","updateLoginState","component","VContainer"],"mappings":"+KAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACA,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAG,uCACpJC,EAAkB,G,wHCaD,EAArB,wDADA,iD,0BAEE,EAAAC,WAAa,eAAU,OAAW,EAAKC,QACvC,EAAAC,aAAe,eAAU,OAAa,EAAKD,QAH7C,EACA,yD,gKAMI,OADAE,QAAQC,IAAI,gC,SACNZ,KAAKU,aAAaG,a,OAIP,OAFbC,EAAoB,G,kBAEDd,KAAKQ,WAAWO,qB,OAArCD,E,4DAEAH,QAAQK,MAAM,8BAAd,M,qBAEMC,EAAmBC,aAAaC,QAAQ,sBAC9CD,aAAaE,WAAW,uBAEpBH,E,iBACF,O,UAAMjB,KAAKqB,QAAQC,KAAKL,G,oCACfH,E,iBACT,O,UAAMd,KAAKqB,QAAQC,KAAKR,G,gCAExB,O,UAAMd,KAAKqB,QAAQC,KAAK,K,QAE1B,O,UAAMtB,KAAKQ,WAAWe,mB,gGAxB5B,GAAoD,QAA/B,EAAsB,QAD1C,QACoB,WCdmhB,I,6CCOpiBC,EAAY,eACd,EACA1B,EACAS,GACA,EACA,KACA,WACA,MAIa,EAAAiB,EAAiB,QAKhC,IAAkBA,EAAW,CAACC,aAAA,OCtBf","file":"js/auth-callback.7c5a301b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('div',{staticClass:\"ma-5\"},[_vm._v(\"Authenticating, Please Wait...\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Vue, Component } from 'vue-property-decorator'\r\nimport userStore from '@/modules/auth/auth.store'\r\nimport sharedStore from '@/modules/shared/shared.store'\r\nimport { getModule } from 'vuex-module-decorators'\r\nimport { RawLocation } from 'vue-router'\r\n\r\n@Component\r\nexport default class AuthenticationCallback extends Vue {\r\n userModule = getModule(userStore, this.$store)\r\n sharedModule = getModule(sharedStore, this.$store)\r\n\r\n async created() {\r\n console.log('[WEB] OIDC Authenticating...')\r\n await this.sharedModule.stopRender()\r\n\r\n let redirectPath: any = ''\r\n try {\r\n redirectPath = await this.userModule.oidcSignInCallback()\r\n } catch (err) {\r\n console.error('[WEB] Authentication Error:', err)\r\n } finally {\r\n const signInReturnPath = localStorage.getItem('signin.return_path')\r\n localStorage.removeItem('signin.return_path')\r\n\r\n if (signInReturnPath) {\r\n await this.$router.push(signInReturnPath)\r\n } else if (redirectPath) {\r\n await this.$router.push(redirectPath as RawLocation)\r\n } else {\r\n await this.$router.push('/')\r\n }\r\n await this.userModule.updateLoginState()\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./AuthenticationCallback.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!../../../../../../node_modules/webpack-preprocessor-loader/index.js??ref--16-0!./AuthenticationCallback.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AuthenticationCallback.vue?vue&type=template&id=7e434ecd&scoped=true&\"\nimport script from \"./AuthenticationCallback.vue?vue&type=script&lang=ts&\"\nexport * from \"./AuthenticationCallback.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7e434ecd\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer})\n","import AuthenticationCallback from './AuthenticationCallback.vue'\r\nexport default AuthenticationCallback\r\nexport { AuthenticationCallback }\r\n"],"sourceRoot":""}