Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
How to use OBO authentication in sandbox mode?

For testing purposes, how can we try or test OBO authentication in sandbox mode? I have tried the examples but since I do not know where to configure it via Admin portal thus possibly explains below error that I have:

23:28:01.572 [main] DEBUG org.apache.http.impl.conn.PoolingHttpClientConnectionManager - Connection released: [id: 2][route: {s}->https://develop2.symphony.com:443][total available: 1; route allocated: 1 of 20; total allocated: 1 of 20]
Exception in thread "main" java.lang.IllegalStateException: OBO is not configured.
at com.symphony.bdk.core.SymphonyBdk.lambda$getOboAuthenticator$1(SymphonyBdk.java:360)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at com.symphony.bdk.core.SymphonyBdk.getOboAuthenticator(SymphonyBdk.java:360)
at com.symphony.bdk.core.SymphonyBdk.obo(SymphonyBdk.java:293)

So is OBO possible in sandbox development mode for testing? Thanks!

  
  
Posted one year ago
Edited one year ago
Votes Newest

Answers


Hi Jun King,

Thank you for your question,

Unfortunately, it is not possible to use the OBO functionality in the Symphony Develop2 (Sandbox) pod environment. The OBO feature will only be possible to test out if you have your own Symphony pod environment - where you will have Admin Portal access to manage the permission for the Service Account & Application Manifest Bundle File.

From the error you provided - it show that 'OBO is not configured' for the BDK configuration - which would make sense as OBO is not available publically to Developers using the Symphony Develop2 (Sandbox) pod environment for the reason I mentioned above.

To enable 'Sandbox' mode with OBO - it would need the Application Manifest Bundle File to be configured to include the correct parameters. However this will only be available to you if you had access to your own Symphony pod environment with Admin Portal access.

In the below link - you will find the documentation explaining on how you would configure the 'Bundle.json' to enable 'Sandbox' mode.

You can read up more on the OBO Authentication using the following documentation:
https://docs.developers.symphony.com/building-extension-applications-on-symphony/app-authentication/obo-authentication

Please let us know if you have any further questions or feedback.
Kind regards
Kaosar

  
  
Posted one year ago
Kaosar Ahmed
310 × 3 Administrator
2K Views
1 Answer
one year ago
one year ago
Tags