Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-3202

Error if the OAuth callback request is too old

    XMLWordPrintable

    Details

      Description

      In this case, OpenOLAT must redirect the people to the login page.

      2017-12-12 02:58:53,672 [ajp-nio2-8075-exec-3] ERROR OAuthDispatcher - OLAT::ERROR ^%^ N75-E43 ^%^ org.olat.login.oauth 
      https://xyz.openolat.com/oauthcallback ^%^ Mozilla/5.0 (Linux; Android 7.0; SM-G920F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36
      Unexpected error
      >>>stack of 1.cause::java.lang.NullPointerException: null
      -> at org.olat.login.oauth.OAuthDispatcher.execute(OAuthDispatcher.java:126)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doGet(OpenOLATServlet.java:218)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
         at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:175)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
         at org.apache.catalina.core.Applicatio[...]
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m