-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update custom header value and version #20
base: main
Are you sure you want to change the base?
update custom header value and version #20
Conversation
WalkthroughThe changes primarily focus on updating the Kinde SDK version from Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- KindeSDK-Info.plist (1 hunks)
- Sources/KindeSDK/Auth/Auth.swift (1 hunks)
- Sources/KindeSDK/Utils/SDKVersion.swift (1 hunks)
Files skipped from review due to trivial changes (1)
- KindeSDK-Info.plist
Additional comments not posted (2)
Sources/KindeSDK/Utils/SDKVersion.swift (1)
3-3
: LGTM!The default version string has been correctly updated to "2.3.1".
Sources/KindeSDK/Auth/Auth.swift (1)
469-469
: LGTM!The custom header value has been correctly updated to "Python/(SDKVersion.versionString)".
@wahabniazi56 the tracker should not be Python it needs to be iOS and update it to be 1.2.0. The python was just an example. |
@onderay please confirm me again because as per your message its seems like to update with Python. Anyways, now please confirm me that it should be "iOS" or "Swift"??? because last time it was "Swift" |
Not valid solution to the requested fix
@wahabniazi56 the issue is here is the can the tracker indicated be Thank you so much |
@DanielRivers, I reviewed your message but I did not understand clearly what you exactly wants to change in SDK because there is not any method which support additional Headers in AppAuth library. I explored little bit but not find any way to add header in refreshToken request. So do I need to change whole method or there is any other possible way to do that? it would be great if you explain me clearly with screenshot of code or any postman request which exactly you want. Because I'm new with this SDK and I don't want to change anything until I'm 100% sure with that it can be cause with other issues. So Please explain me in more details. Thanks |
On further checking, I found that this PR implemented custom header passing in auth/token requests. However, this PR was not merged into the main branch. Can I use a specific commit of AppAuth in the Kinde SDK? |
Explain your changes
"Update" custom header additional parameter
Kinde-SDK
with new value"Python/2.3.1"
I have change this valueSDKVersionString
in KindeSDK-Info.plist as well.Checklist
🛟 If you need help, consider asking for advice over in the Kinde community.