Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64079

OAuth2 access token expiry is optional

    XMLWordPrintable

    Details

      Description

      For Information:

      https://www.oauth.com/oauth2-servers/access-tokens/access-token-lifetime/

      The access tokens can have expiry tokens, or they cannot. Due to the changes in MDL-63696 we require an expiry with access tokens for OAuth clients used as a system account. 

      The examples we use currently with system accounts do include an expiry so this is low priority.

      If we don't get one in the response we should use a default value like 7 days from now.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jan.dagefoerde Jan Dageförde
              Reporter:
              damyon Damyon Wiese
              Peer reviewer:
              Víctor Déniz Falcón
              Integrator:
              Jun Pataleta
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Juan Leyva, Jake Dallimore, Jun Pataleta
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/18