Skip to Content
avatar image
Former Member

How to Integrate OAuth 2.0 in Gateway with Google/Yahoo/Facebook

Hi All,

I want to integrate OAuth 2.0 in Gateway with Google or Yahoo or facebook Login.

Scenario is as follows.

1. The user requests first hit the gateway server.

2. Then with the Oauth 2.0 configuration they have to land onto Google Login Page.

3. After Successful authentication they have to again land onto the Gateway Server.

Mainly this functionality is for Outside customers.

Kindly suggest some ideas.

Regards

Karthik

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 21, 2015 at 04:29 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 14, 2015 at 04:35 AM

    Kathik,

    This capability is provided by the underlying ABAP server and obviously Gateway can make use of it.

    See here.

    http://help.sap.com/saphelp_nw74/helpdata/en/cd/b122d5b0784c77bf1bcce17f730e74/content.htm

    ABAP provides both a OAuth Client and a Oauth Server as you see here.

    By googleing I found more information and there are many resources.

    Enabling OAuth 2.0 Authentication for OData Services - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 15, 2015 at 09:39 AM

    Krishna,

    THe link you provided is for An ABAP program to get access to Google API.  But i want my ODATA service to use OAUTH 2.0 get authenticated from google and then show the result of the service or watever.

    Can you help me regarding this ??

    Regards

    Karthik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2015 at 09:32 AM

    HI All,

    I'm getting the following error after redirection

    webdynpro/sap/OA2C_GRANT_APP?error=oa2c_error&error_description=Client%20configuration%20error%20or%20network%20problems.%20See%20kernel%20traces.

    Please help me .

    Regards

    Karthik

    Add comment
    10|10000 characters needed characters exceeded