{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
0
Question by Tara McLean · Sep 21, 2017 at 04:00 PM · 430 Views authenticationservice calloutcertificatesauthorization bearerping

How to set client id when making a service callout to pingfederate to authorize an access token

I am trying to call Ping Federate from Apigee using certificate authentication to authorize a token that was generated by Ping Federate

I have set up Ping and both Apigee with the certificate

My service callout is below. The thing I am missing is how to set the Ping Federate client id in my service callout

<ServiceCallout async="false" continueOnError="false" enabled="true" name="Service-Callout-1">
    <DisplayName>Service Callout-1</DisplayName>
    <Properties/>
    <Request clearPayload="true" variable="myRequest">
        <Set>
            <QueryParams>
                <QueryParam name="token">{access_token}</QueryParam>
                <QueryParam name="token_type_hint">access_token</QueryParam>
            </QueryParams>
            <Verb>POST</Verb>
        </Set>
    </Request>
    <Response>pingTokenValidationResponse</Response>
    <HTTPTargetConnection>
        <Properties/>
        <URL>https://PING_FEDERATE/as/introspect.oauth2</URL>
        <SSLInfo>
            <ClientAuthEnabled>true</ClientAuthEnabled>
            <Enabled>true</Enabled>
            <KeyAlias>test</KeyAlias>
            <KeyStore>test</KeyStore>
            <TrustStore>test</TrustStore>
        </SSLInfo>
    </HTTPTargetConnection>
</ServiceCallout>
Comment
Add comment Show 1
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image venu.july30 · Oct 21, 2020 at 05:20 AM 0
Link

Hi Tara,

How did you resolve this issue. I am getting same issue. but i am constructing the service properly.

I was able to configure 2 way SSL between Apigee and Tomcat. where as i am getting issue while configuring with pingfed.

Thanks,

Venu

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Dino   · Sep 22, 2017 at 11:09 PM

Hi Tara. I think I can help you.

You said

The thing I am missing is how to set the Ping Federate client id in my service callout

How should the client id get propagated? Does Ping expect it in a header? a query param?

If in an query param, then you just need another <QueryParam> element. If in a Header, then you need to add a <Headers> element, similar to the <QueryParams> element, and a single <Header> element within that.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

56 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Trying to fetch file contents with ServiceCallout, not working. Help? 1 Answer

Authentication problems with truststore containing multiple client certificates 2 Answers

About OAuth2.0 Policy which is used to Generate Access Token using client credentials grant type 1 Answer

Why use keys from Developer Apps? 1 Answer

Authentication and Authorization with Spring Boot 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges