Custom URL SSO

Custom URL SSO

by Gabriel Mazin -
Number of replies: 1

Hello, I want to know if it's possible to set up a custom URL for the Moodle app. I want the url to be opened in the browser embedded in the app, so the person can sign in and back to the app.


I tested it in my custom Moodle PlayStore app, in both the native browser opens with the moodle default login url ("http://umbandaexplica.com.br/ead/login/index.php") and does not a custom URL.


I tried to change the table tool_mobile | forcedurlscheme in ADMIN> AUTH MOBILE and did not work. If I understand correctly, if I enter a URL in this field it will open in the app at the time of logging in. Right?


If so, it is not working. I'm using Moodle 3.5 and the latest version of the app.


http://umbandaexplica.com.br/ead/

Average of ratings: -
In reply to Gabriel Mazin

Re: Custom URL SSO

by Dani Palou -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Hi Gabriel,

if I understood it right, you want the app to open a page different than "login/index.php" when the user tries to authenticate in the app, right?

If so, you'll have to change the app's code, since the "login/index.php" URL is hardcoded.

Kind regards,

Dani