App not redirected to Invite User Page when type on browser URL

I am trying to access my “invite-user” route from browser URL by typing this route “localhost:4200/invite-user”, but app redirect me to login page

import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";

import { LoginComponent } from "src/app/components/login/login.component";
import { RegisterComponent } from "src/app/components/register/register.component";
import { InviteUserComponent } from "src/app/components/invite-user/invite-user.component";

const routes: Routes = [
  { path: "login", component: LoginComponent },
  { path: "register-user", component: RegisterComponent },
  { path: "invite-user", component: InviteUserComponent },
  { path: "", redirectTo: '/login', pathMatch: 'full' }
];

@NgModule({
  declarations: [],
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class AuthRoutingModule {}

Source: New feed