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
Identifying the Financial Institution using my SSO extension

I’m building an SSO extension that will link out to an external site. I'm trying to find a key in the sdk to identify the current financial institution using our SSO extension, so we can attribute the user who lands on our site to the financial institution. I’ve found the self.vendor_configs, and a vendor_id, but at least in development the name of the vendor is my name, aka what I specified as the company for the extension. I’ve tried looking through the documentation on the online_user object and vendor_config, but it’s not clear to me how I should programmatically identify the financial institution using our extension. Can anyone point me in the right direction here?

Thanks,
Chris

Posted 4 years ago
Votes Newest

Answers 2


I see two good solutions. Personally, I would make a wedge address config that takes in the FI name. That way you can set exactly the data you want.

The other option is you can use the ABA number, and use that to determine what the FI is. There may be other ways to do this, but this is how I would do it.

Posted 4 years ago
Trey Teter
124 × 2 Administrator
0

Thanks, this was helpful!

— Chris Holve   4 years ago

Hi Chris,

If you are using an online client-side extension then you can add a key in wedge_config per FI. if you are using SSO extension you need to add the key in vendor_config.and if suppose your project contains multiple extensions you can also grab the wedge or vendor config details of SSO extension in other extension with the following Q2 methods.

accessing vendor configs of SSO extension in other extensions

from q2_sdk.hq.db.vendor_config import VendorConfig
from q2_sdk.hq.db.vendor import Vendor
        vendor_obj = VendorConfig(logger=self.logger) # need to pass logger argument
        vend_res = await vendor_obj.get(
            vendor_name="extension_name", serialize_for_cli=False
        )

accessing wedge configs of client-side extension in other extensions

from q2_sdk.hq.db.wedge_address import WedgeAddress
        wedge_object = WedgeAddress(self.logger)
        config_node = await wedge_object.get(short_name='extension_name')
        res = json.loads(config_node[0].Config.text)

Thanks,
swarup,
https://nuevesolutions.com