File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " vue-shv" ,
3- "version" : " 3.0.0 " ,
3+ "version" : " 3.0.1 " ,
44 "description" : " Vue support for libshv-js" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -179,13 +179,11 @@ export function useShv(options: VueShvOptions) {
179179
180180 for ( const workflow of workflows ) {
181181 const parsedWorkflow = OAuth2AzureWorkflowZod . safeParse ( workflow ) ;
182- if ( ! parsedWorkflow . success ) {
183- continue ;
182+ if ( parsedWorkflow . success ) {
183+ shvSessionStorage . value . azureWorkflow = parsedWorkflow . data ;
184+ globalThis . location . replace ( makePkce ( { ...parsedWorkflow . data , azureCodeRedirect} ) . authorizeUrl ( ) ) ;
185+ return ;
184186 }
185-
186- shvSessionStorage . value . azureWorkflow = parsedWorkflow . data ;
187-
188- globalThis . location . replace ( makePkce ( { ...parsedWorkflow . data , azureCodeRedirect} ) . authorizeUrl ( ) ) ;
189187 }
190188
191189 noBrokerSupport ( ) ;
You can’t perform that action at this time.
0 commit comments