IBM Support

PI11907: Should use "Bearer" as token_type when sending OAuth 2.0 access token response.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using WAS 8.5.0.2 with the OAuth 2.0 functionality,
    "bearer" is used as token_type in OAuth 2.0 access token
    response.  This may cause problems if subsequent processing
    expects "Bearer" as token_type, as per RFC 6750.
    
    An example of such a response is:
    {
      "access_token":"v8nMdCW3CIW569RLldcL9FvcgzZJtyFGt1y1QEvx",
      "token_type":"bearer",
      "expires_in":3599,
      "scope":""
    }
    

Local fix

  • Outside vendors integrating with our systems have to add extra
    code to work around the token response being incorrect.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server.                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Should use "Bearer" as token_type       *
    *                      when sending OAuth 2.0 access token     *
    *                      response.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using WAS 8.5.0.2 with the OAuth 2.0 functionality,
    "bearer" is used as token_type in OAuth 2.0 access token
    response.  This may cause problems if subsequent processing
    expects "Bearer" as token_type, as per RFC 6750.
    An example of such a response is:
    {
    "access_token":"v8nMdCW3CIW569RLldcL9FvcgzZJtyFGt1y1QEvx",
    "token_type":"bearer",
    "expires_in":3599,
    "scope":""
    }
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI11907

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-17

  • Closed date

    2014-02-28

  • Last modified date

    2014-02-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022