Topic
1 reply Latest Post - ‏2013-11-15T22:52:12Z by kark
RPM65
RPM65
1 Post
ACCEPTED ANSWER

Pinned topic Facing issues in settip up oAuth in Liberty profile

‏2013-11-15T15:29:12Z |

I followed the document as per http://www.ibm.com/developerworks/websphere/techjournal/1305_odonnell2/1305_odonnell2.html

Instead of testpage.ear , I used my REST service war file

When I try to access http://servername /oauth2/endpoint/<provider_name>/authorize, I am seeing this error in the log file

[11/13/13 14:25:23:680 IST] 0000002b com.ibm.ws.webcontainer.servlet                              I SRVE0242I: [com.ibm.ws.security.oauth20] [/oauth2] [OAuth20EndpointServlet]: Initialization successful.
[11/13/13 14:25:24:137 IST] 0000002b com.ibm.ws.logging.internal.impl.IncidentImpl                I FFDC1015I: An FFDC Incident has been created: "com.ibm.oauth.core.api.error.OAuthConfigurationException: Error with configuration property: oauth20.client.provider.classname value: null com.ibm.ws.security.oauth20.util.OAuth20ProviderUtils 181" at ffdc_13.11.13_14.25.24.0.log
[11/13/13 14:25:24:183 IST] 0000002b com.ibm.ws.logging.internal.impl.IncidentImpl                I FFDC1015I: An FFDC Incident has been created: "com.ibm.ws.security.oauth20.exception.OAuthProviderException: com.ibm.oauth.core.api.error.OAuthConfigurationException: Error with configuration property: oauth20.client.provider.classname value: null com.ibm.ws.security.oauth20.util.OAuth20ProviderUtils 70" at ffdc_13.11.13_14.25.24.1.log

 

Please let me know how to proceed and what should I do to get oauth token

Many thanks in advance

 

Attachments

  • kark
    kark
    26 Posts
    ACCEPTED ANSWER

    Re: Facing issues in settip up oAuth in Liberty profile

    ‏2013-11-15T22:52:12Z  in response to RPM65

    Hi,

    Are you able to successfully use the testpage.ear and the configuration as documented - i.e having issues only with your REST app? Can you attach the server.xml? Looking at the trace it might be caused by the mediatorClass settings. You can remove the related configuration for that and see if it makes a difference.

    --Ajay