Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4020

Token expired error displayed again after reconnect with OAuth

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.1.0
    • None
    • Authentication
    • MOODLE_401_STABLE

    Description

      This is because the handleOpenUrl function isn't called immediately, so the app restores the session and starts calling WebServices before we receive the new token.

      How to reproduce:

      • Login on the app in master using OAuth.
      • Reset token in web (Preferences > Security keys)
      • Browse in the app until you see the warning that token is invalid or expired
      • OK/Confirm and re-authenticate
      • App re-opens, it will display the token expired message again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpalou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: