SSO authentication in "serve" mode

SSO authentication in "serve" mode

by Іван Колодрівський -
Number of replies: 2

Hi. Why SSO authentication not available on "ionic serve" mode? I "serve" application on browser and real android device, but available only authentication by login and password.

If compile app and install on device available login\password and SSO authentication.

P.S. In browser and device runs "Moodle Desktop" application. Is problem?

UPD. On site "Type of login" set on "Via the app"

Average of ratings: -
In reply to Іван Колодрівський

Re: SSO authentication in "serve" mode

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

SSO authentication relies on either the in-app browser (which doesn't exist when running with ionic serve), or on your OS being able to identify a special URL from your browser and open it in the Moodle app. When you're running the app in your web browser via ionic serve, your OS doesn't identify this as an "app" that can handle the special URL.

In reply to Mark Johnson

Re:

by Іван Колодрівський -
Maybe it can be solved through Doker? I see a Dockerfile, but I cannot connect to a container that is built from it (port 8100 is published, but got "ERR_CONNECTION_REFUSED" on my browser)