Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12759

max_age should a number, not a string

    Details

    • Sprint:
      AM Sustaining Sprint 73, AM Sustaining Sprint 74
    • Story Points:
      3
    • Needs backport:
      Yes
    • Support Ticket IDs:
    • Verified Version/s:
    • Needs QA verification:
      Yes
    • Functional tests:
      Yes
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      When doing an authorization code flow, you can specify an option call max_age.
      Currently, AM is expecting this value to be a String but the standard says it should be a number.

      How to reproduce the issue

      Do an authorization code grant flow with the option max_age.

      Expected behaviour

      the login page

      Current behaviour

      An internal server error that is actually catch up and returned as "The request requires login" which makes completely no sense.

      Work around

      Use max age as a string

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chee-weng.chea C-Weng C
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: