Hello all,
I set up an Authorization profile (oAuth2), but for my needs the tenant id is in the path (as below example). My desire is to set TENANT_ID variable passed up by the client-side of the bot and read in from something like:
context.session.BotUserSession.lastMessage.messagePayload.botInfo.customData.tenantId
The documentation leads me to believe you can use variables in the authorization profile. In fact it explicitly states:
In the Authorization Check URL field, optionally define a URL that can be used to test the authorization settings from Bot Builder before you deploy the Bot with the authorization mechanism. You can use dynamic fields, path parameter fields, query fields, and so forth, to define the test URL.
I just can’t get this to work, and I’m tired of…beating…my…head…against…my…keyboard…ow…urrghh.
What am I missing?
Example URL: https://api.xxxx.zzz/login/v1/{{TENANT_ID}}/oidc/authorize
Thanks