I am using wso2 apim 4.0.0. I would like to find out api business owner by api_id(api_name). Since WSO2 API Manager uses Apache Solr based indexing for API documentation content, is it possible to acquire any API documentation content field using solr client? If it is, any hint about how to establish connection to wso2 apim solr and get api document field is appreciated
Related
Is there any way to fetch and load RingCentral data in our database? Can we use REST API or it can be integrated directly?
I'm trying to retrieve reporting data.
How exactly can I get access token, is it generated by RingCentral?
What reporting data are you trying to sync?
General REST API Info
The RingCentral REST API can be used to retrieve and load data into your own database or any other system. There is also an event system that supports webhooks and client-based PubNub subscriptions.
Learn more about the REST API here:
https://developers.ringcentral.com/api-reference
In addition to using the REST API directly, a variety of SDKs are available here:
https://developers.ringcentral.com/guide/sdks
Reporting Data API
Can you be more specific on what kind of reporting data you are interested in?
It is popular to sync the Call Log CDR (Call Details Record) data to databases. Read more on the Call Log APIs here:
https://developers.ringcentral.com/guide/voice/call-log/reading-call-log
Getting an Access Token for the API
Regarding authentication to get an access token to use the API, RingCentral supports OAuth 2.0. See the following Developer Guide page on Authentication which covers the various OAuth 2.0 grant type approaches that are supported, including
Authorization Code Flow (3-legged flow)
Password Flow
Implicit Grant Flow
PKCE is also supported with the Authorization Code Flow.
https://developers.ringcentral.com/guide/authentication
Direct Integration
Direct integration is available via various pre-integrated connectors.
See the RingCentral App Gallery to see various apps that have been integrated like Salesforce, HubSpot and others.
https://www.ringcentral.com/apps/
I created an application in Azure Portal and did set up single sign-on with SAML, it generated ObjectID and ApplicationId and its working without any issues w.r.t functionality.
Now when I try to get the list of apps using Graph API - Applications or ServicePrincipals APIs, the newly configured app is not listed in the response. Also I tried with Salesforce App but no luck. Can anyone suggest whether I have to refer different Graph API to get the SAML enabled apps?
The app should be there when you use the List servicePrincipals API, there may be some delay, please try again via the query below works for me, it list all the SAML enabled apps, also make sure you are running it in the correct AAD tenant.
GET https://graph.microsoft.com/v1.0/servicePrincipals?$filter=preferredSingleSignOnMode eq 'saml'
My use case is, i need to open NetSuite within Salesforce using SSO. Both the platform supports SAML 2.0.
As a first step mentioned in SSO implementation guide in Salesforce, I am trying to create new Single Sign On Setting from 'New From Metadata Url' button. And here is NetSuite Service Provider metadata url:
https://system.na1.netsuite.com/saml2/sp.xml
However, Salesforce is throwing an error-
The XML file doesn't include your SAML 2.0 settings. Verify that the URL links to the SAML 2.0 settings you want.
I checked the NetSuite SSO metadata xml (provided in the url path) and that contains definition for SAML2.0. So not sure why this error is coming up. Can anyone suggest here what might be wrong? Or if I am missing something here.
thanks in advance!
I think the issue is that both Salesforce and Netsuite are Service Provider implementations. Neither is an Identity Provider so if you are importing Netsuite's metadata to Salesforce you'd get an error because you are importing the wrong sort of file.
I am trying to crawl a website, more specifically a Google Site using ManifoldCF that has SAML authentication and index the crawled data into Apache Solr. But as I crawl the URL, it gives me 302 redirection to login page and then says RESPONSECODENOTINDEXABLE.
I am not sure if have I authenticated correctly or not. In manifoldCF we have options for HTTP basic authentication, NTLM authentication and Session-based access credentials authentication method. I used Session based authentication method which more looks like a form based authentication rather than SAML authentication.
Has anybody crawled a website using manifoldCF which has SAML authentication? And if not manifoldCF, has anyone been able to accomplish this via Apache Nutch, because I am afraid, it also provides only HTTP basic , Digest and NTLM authentication.
Any insight would be helpful. Can provide more information regarding the issue, if anyone here thinks it can easily be accomplished. Basically when I crawl https://sites.google.com/a/my-sub-domain.com, it redirects to SSO login page and crawler refuses to crawl any more giving a 302 error. It's an intranet based website.
There is no support in Nutch forSSO authentication using SAML. You need to handle it by writing your custom plugin. We have extended proptocol selenium plugin to handle SAML flows.
Not sure whether this helps, just try it out.
In nutch, we can provide credentials to login to the page, we have httpclient-auth.xml file in conf directory.
There u can provide your host name along with the credentials.
<auth-configuration>
<credentials username="admin" password="admin123">
<authscope host="hostname" realm="login"/>
<default/>
</credentials>
</auth-configuration>
Similarly you can add any number of credentials to this configuration.
To crawl https site, change plugin.includes property from protocol-http to protocol-httpclient in nutch-conf.xml
We have modified logic in Nutch protocol-selenium plugin to handle SSO flows.
You need to wait for redirect to SSO page. Then using selenium you can handle SSO. Again wait for redirection to original page after SSO.
If 2 factor auth is required, then things become complex. In that case you can configure google authenticator (if allowed by your IdP). You can use that to get get TOTP.
For crawling files behind authentication there is no usual way. You can configure driver to always downlaod files and then use the docwnlaoded file.
You can handle the auth flow using another http clients. If you need dynamic page's content (after all JS and Ajax request completed) then selenium is the best choice and if you are using it, you can move auth part to selenium.
I've configured wso2 IS to retrieve user information from AD, but now I don't know how to integrate Bonita 6.3.6 (community edition) with wso2 IS. How can I do it? Thanks.
In Bonita BPM official documentation you will be able to find a page that cover all the authentication process.
Recommended approach is either to:
Use the JAAS implementation of the authentication service and use (or create) an appropriate JAAS login module (if you have access to Bonita BPM Subscription edition)
Create a new authentication service (you can check interface and default implementation)