Skip to content

feat: added subscription validation loader on all routes#20

Open
vkumar-sonata wants to merge 2 commits into
frontend-basefrom
route-redirect
Open

feat: added subscription validation loader on all routes#20
vkumar-sonata wants to merge 2 commits into
frontend-basefrom
route-redirect

Conversation

@vkumar-sonata

Copy link
Copy Markdown

Ticket: SUBS - 751

  • This PR is related to validate and guard the routes of subscription and pages of subscription if the current logged in leaner subscription status is active or not.
  • If the subscription status is active, the learner can navigate between subscription pages else the learner will be redirected to the Learner Dashboard.

Steps to run locally:

  • Clone the repo
  • Checkout the branch
  • Run the repo locally

@vkumar-sonata
vkumar-sonata marked this pull request as ready for review July 16, 2026 13:01
Comment thread site.config.dev.tsx
lmsBaseUrl: 'http://local.openedx.io:8000',
loginUrl: 'http://local.openedx.io:8000/login',
logoutUrl: 'http://local.openedx.io:8000/logout',
baseUrl: 'http://localhost:3000',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we changing the port? to 3000 here

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mshet-sonata-pixel I made this change as the shell-app will work on this port. So, I just switched the port to avoid the conflict.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants