Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4669

[OAuth2] Return expires_in with token in ImplicitGrantService

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.6.4, 2.7.1
    • JAX-RS Security
    • None
    • Unknown

    Description

      My clients have different token expiration times so I need to have the expires_in query parameter include on the url response to the client when the token is returned. This is for the implicit flow.

      In other words, this line of code needs to be added to ImplicitGrantService.java at line 77 (or so):

      sb.append("&").append(OAuthConstants.ACCESS_TOKEN_EXPIRES_IN).append("=").append(token.getExpiresIn());

      Thanks.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            tippettssh Steven Tippetts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: