-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug?
When using the okta-mobile-swift SDK, network requests made from Release builds do not include the User-Agent header.
In Debug builds, the User-Agent header is included as expected.
What is expected to happen?
All Okta SDK network requests should include a User-Agent header in both Debug and Release configurations, for example:
User-Agent: okta-authfoundation-swift/2.1.1 iOS/18.1 Device/arm64
What is the actual behavior?
Debug builds:
User-Agent header is present ✅
Release builds:
User-Agent header is missing ❌
Reproduction Steps?
Run the SDK login flow in a Debug build → capture request headers → User-Agent is present.
Run the same flow in a Release/TestFlight build → capture request headers → User-Agent is missing.
Additional Information?
No response
SDK Version(s)
2.1.1
Build Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working