# Android app oauth fail

**URL:** <https://forum.pydio.com/t/android-app-oauth-fail/3967>\
**Category:** Mobile Applications\
**Tags:** android\
**Created:** [July 27, 2021, 9:32am UTC](https://forum.pydio.com/t/android-app-oauth-fail/3967 "2021-07-27T09:32:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lubovic](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/lubovic/32/941_2.png) [@lubovic](https://forum.pydio.com/u/lubovic)\
**Post date:** [July 27, 2021, 9:32am UTC](https://forum.pydio.com/t/android-app-oauth-fail/3967/1 "2021-07-27T09:32:30Z")

</div>

Hello,

I’m running android 9 with the app Pydio Cells 2.3.3

I can’t login with the mobile app from Android, when I enter the url of my pydio cells :

It redirect me to this url in chrome : https://\*\*\*\*\*\*\*\*/oauth2/fallbacks/error?error=invalid\_request&error\_description=The+request+is+missing+a+required+parameter%2C+includes+an+invalid+parameter+value%2C+includes+a+parameter+more+than+once%2C+or+is+otherwise+malformed&error\_hint=The+%22redirect\_uri%22+parameter+does+not+match+any+of+the+OAuth+2.0+Client%27s+pre-registered+redirect+urls.

And I get this screen :

 ![pydio cells error](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/1/1757acd8babdbab54d2bd3809e3698bfe08b2c5d.png)

Thanks

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [July 27, 2021, 3:17pm UTC](https://forum.pydio.com/t/android-app-oauth-fail/3967/2 "2021-07-27T15:17:57Z")

</div>

This usually means that the mobile app is not authorized _on the server side_.

You should insure that your pydio.json main configuration file contains something like:

```auto
 {
          "client_id": "cells-mobile",
          "client_name": "Mobile Applications",
          "grant_types": [
            "authorization_code",
            "refresh_token"
          ],
          "redirect_uris": [
            "cellsauth://callback"
          ],
          "response_types": [
            "code",
            "token",
            "id_token"
          ],
          "scope": "openid email profile pydio offline"
        }

```

---

<div class="post-metadata">

**Author:** ![lubovic](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/lubovic/32/941_2.png) [@lubovic](https://forum.pydio.com/u/lubovic)\
**Post date:** [July 27, 2021, 3:40pm UTC](https://forum.pydio.com/t/android-app-oauth-fail/3967/3 "2021-07-27T15:40:50Z")

</div>

Hi and thanks for your help,

In my config file I had :

 ![config2](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/6254ff127862f554adea635bd7c266436ef47ea4.png)

I replaced the line “redirect\_uris” with yours and it works like a charm!

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [July 29, 2021, 7:12am UTC](https://forum.pydio.com/t/android-app-oauth-fail/3967/4 "2021-07-29T07:12:32Z")

</div>

Thanks for the feedback. Do not hesitate to mark the thread as solved 🙂
