SSO failing on Android Moodle 4.0.1, ERR_UNKNOWN_URL_SCHEME

SSO failing on Android Moodle 4.0.1, ERR_UNKNOWN_URL_SCHEME

par Mr. Fig,
Nombre de réponses : 3

Hello,

I'm using stock Moodle 4.0.1 on the most recent version of CalyxOS (Android) on a Pixel 4a and I am unable to log into my Uni account via SSO. Up until yesterday, it worked fine. It would open up a Chromium/Webview window to sign in and then redirect back into the app once credentials were entered. Now however, the browser window gives an ERR_UNKNOWN_URL_SCHEME for the moodlemobile://token=*insert token here* page after signing into the account. It does not redirect back to the app and I do not know if it's possible to manually input the token value into Moodle to log in. Has anyone else had this issue? If so, is it a problem with Moodle or with Chromium/Webview? I have attached an image to this post to show what I mean.Moodle token redirect failing, ERR_UNKNOWN_URL_SCHEME

Moyenne des évaluations  -
En réponse à Mr. Fig

Re: SSO failing on Android Moodle 4.0.1, ERR_UNKNOWN_URL_SCHEME

par Dani Palou,
Avatar Core developers Avatar Moodle HQ Avatar Peer reviewers Avatar Plugin developers

Hi,

that error is displayed when Android doesn't have any app to handle the URL scheme (in this case, "moodlemobile"). If the Moodle app from Google Play is installed in the device, this error shouldn't appear. If you have the app installed, can you try to uninstall it and install it again?

Cheers,

Dani

En réponse à Mr. Fig

SSO failing on Android Moodle 4.0.1, ERR_UNKNOWN_URL_SCHEME

par Elly Gracia,

The error message ERR_UNKNOWN_URL_SCHEME is seen on SSO failing on Android Moodle 4.0.1. It is a browser-related problem that appears when the browser is able to process a URL that it simply doesn’t know how to handle. URL scheme is the first element of a URL that defines the protocol that is necessary. The error can be triggered by several factors, which can be broadly categorized into issues related to custom URL schemes, browser compatibility, extensions, and typos. 

I hope it helps!

En réponse à Mr. Fig

SSO failing on Android Moodle 4.0.1, ERR_UNKNOWN_URL_SCHEME

par Advina Maris,

I also been faced by ERR_UNKNOWN_URL_SCHEME kind of error few days back and as I was looking for the solution than come through the following article at:- https://cheapsslweb.com/resources/how-to-resolve-err_unknown_url_scheme-error. I was able to solve it easily by referring to it and apply the different fixes.

I hope it helps!