Way to take user to course in v3 like v2 had

Way to take user to course in v3 like v2 had

API v2 provided a url with query string params of courseid, userid and sessionid which took the user to the direct course instead of landing them on the dashboard.  This is needed in v3 since v2 has gone away.  

All we really need is an API method that returns a sessionid and for you guys to write the code that reads the query strings from the url below and takes user to the course

https://harrells.matrixlms.com/learner_module/show/1365598?lesson_id=6186193session_id=46645338




Re: Ticket 24944

Hello.  Switching over to v3.  The problem I am having is when I use the form submission lands the user on the dashboard and not the specific page i want them to go to.

Is there a way to do something like the below with v3?  If so, I dont see a way to make a valid session id to use to pass along in the query string.  Thoughts?

https://harrells.matrixlms.com/learner_module/show/1365598?lesson_id=6186193session_id=46645338
Sayed Hussein
18 hours ago

Hi Mike,

Thank you for your patience while we investigated this further.

After a thorough review of the v3 API reference, we can confirm that the functionality you're referring to—specifically, generating a login URL that redirects a user to a specific internal page using a session ID (like in your example)—was supported in v2 using the GET /users/login_url endpoint. This allowed you to pass a redirect_to parameter to guide users to a particular course, module, or lesson after login.




However, in v3 of the API, there is no direct equivalent to this endpoint. The v3 API currently does not support generating login/session URLs or handling post-login redirects through API calls. It also does not offer a way to create or pass a session ID via the query string to control where the user lands after login.

We’d also be happy to submit this as a feature suggestion to the product team if you'd like to see this functionality carried into v3.
Let me know if you need help or if there’s anything else I can assist you with.


Cheers,
Sayed
    • Topic Participants

    • Mike