Redirects
The Redirects section allows admins to define where users are sent after key actions,
as CourseLayer does not control the front-end experience.
These redirects ensure a smooth user flow for authentication and payment processes.
Available Redirects
Admins can set custom URLs for the following actions:
- Sign Up – Where users are directed after registering.
- Login – The destination after a successful login.
- Password Reset – The page users land on after resetting their password.
- Stripe Checkout Session – The return URL after a payment session is initiated.
- Stripe Payment Error – Where users are sent if a payment fails.
Key Considerations
- Fully Customizable – Any URL can be used.
- ⚠️ Incorrect URLs will lead users to the wrong destination.
- No Default Redirects – If a field is left blank, users will not be redirected anywhere.
- No Dynamic Parameters (Yet) –
- URLs cannot currently include dynamic parameters like user IDs or tokens.
- 🔄 This feature is planned for a future update.
- Testing Required –
- There is no built-in way to test redirects within CourseLayer.
- Users must trigger real actions on their front end to verify functionality.
💡 Note:
Properly setting redirects is essential to ensure a seamless user experience,
especially for authentication and payments.