Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Authentication Link Malformed In iOS SMS App (SMSChannel) #4897

@mkonkolowicz

Description

@mkonkolowicz

Bot Info

  • SDK Platform: .Net
  • SDK Version: 3.15.3
  • Active Channels: Twilio (SMS)
  • Deployment Environment: Azure Bot Service

Issue Description

When using generic oauth mechanisms for authentication, the link returned by the authentication mechanism is not encapsulated, so it is not easily clicked on, on a mobile device. In order to retrieve the magic string for authentication from bot framework, the user has to copy paste the string into a note, remove some verbiage and then repaste the link into a mobile browser.

Code Example

var tokenResponse = Context.GetUserTokenAsync(string connectionName);

Reproduction Steps

  1. Ensure generic oauth setup on bot framework azure resource
  2. Attempt to get token through "context.GetUserTokenAsync"
  3. Observe link sent back by bot framework for magic code.

Expected Behavior

The full provided link is clickable in SMS (iOS) app. The user should not have to cut and paste the link, but be able to click to launch it in a mobile browser.

Actual Results

The link is cut and the user has to copy paste and "clean" (remove verbiage) from the provided link before pasting into browser.
img_1772

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions