I found even the new 3.5 mobile app have the redirection issue when using OAuth SSO.
When a user logged in using SSO, Moodle throw error
A required parameter (passport) was missing
We use custom OAuth service to connect to Moodle OAuth.
It seems moodle sending out a passport but the response is not returned with a passport id. So the missing passport happens.
I believe this is something to set in OAuth server? However OAuth team cant fix it. I still have this issue and thinking of removing passport parameter. Is it possible since its not a very important element and used to identify request only? What you think?
the "passport" parameter is generated by the app to identify the request. Once the SSO is done, the app is opened again with the same passport so it can identify and validate the request. If you remove the passport parameter, the app will be launched but the user won't be authenticated since the app won't be able to validate the passport.