I am getting a route from Third Party app post authentication, Route is like below: http://localhost:4200/#access_token=dynamicTokenValue
I had configured this route as below when I was using Angular 11 and it was working as expected, Post upgrade to Angular 16, It stopped working.
{ path: 'access_token', data: { breadcrumb: 'ABC', }, redirectTo: 'mycomp', }
P.S: I have path configured for 'mycomp' with lazy loading (ESM).
I tried below but did not work for me, It's treating 'access_token=:id' as a string instead of treating :id as dynamic value.
{ path: 'access_token=:id', data: { breadcrumb: 'ABC', }, redirectTo: 'mycomp', }
Below are examples: Working in Angular 11:
Working Route: https://angualar-routing-in-angular-demo-example-yz3igv.stackblitz.io/#access_token=2332
Not working in Angular 16:
Not Working Route: https://angular-erafn2.stackblitz.io/#access_token=24224