cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Tippetts (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-4669) [OAuth2] Return expires_in with token in ImplicitGrantService
Date Mon, 03 Dec 2012 17:22:00 GMT
Steven Tippetts created CXF-4669:
------------------------------------

             Summary: [OAuth2] Return expires_in with token in ImplicitGrantService
                 Key: CXF-4669
                 URL: https://issues.apache.org/jira/browse/CXF-4669
             Project: CXF
          Issue Type: Improvement
          Components: JAX-RS Security
    Affects Versions: 2.7.0
            Reporter: Steven Tippetts


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message