[GH-ISSUE #689] how can I send http request with url scheme? #447

Open
opened 2026-03-03 16:48:44 +03:00 by kerem · 1 comment
Owner

Originally created by @sakura-acm on GitHub (Jan 17, 2022).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/689

Description:

how can I send http request with url scheme?

I want to send a request "https://portal.tencentciam.com/logout?client_id=YjBiYzNU1YTI&logout_redirect_uri=ciam://oauth-callback/Ciam" , and if success the app will redirect to ciam://oauth-callback/Ciam and it is url scheme

I used oauthswift.client to send request but I failed ,what can I do?

Thanks for you reading,any suggestion appreciated.

OAuth Provider? (Twitter, Github, ..):

OAuth Version:

  • Version 1
  • [✔️ ] Version 2

OS (Please fill the version) :

  • [✔️] iOS :
  • OSX :
  • TVOS :
  • WatchOS :

Installation method:

  • Carthage
  • [✔️] CocoaPods
  • Swift Package Manager
  • Manually

Library version:

  • head
  • v2.1.0
  • v2.0.0
  • v1.4.1
  • other: (Please fill in the version you are using.)

Xcode version:

  • 11.4 (Swift 5.2)
  • 11.x (Swift 5.1)
  • 10.x (Swift 5.0)
  • [✔️] other: (Please fill in the version you are using.)
    13.2
  • objective c
Originally created by @sakura-acm on GitHub (Jan 17, 2022). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/689 ### Description: how can I send http request with url scheme? I want to send a request "https://portal.tencentciam.com/logout?client_id=YjBiYzNU1YTI&logout_redirect_uri=ciam://oauth-callback/Ciam" , and if success the app will redirect to ciam://oauth-callback/Ciam and it is url scheme I used oauthswift.client to send request but I failed ,what can I do? Thanks for you reading,any suggestion appreciated. ### OAuth Provider? (Twitter, Github, ..): ### OAuth Version: - [ ] Version 1 - [✔️ ] Version 2 ### OS (Please fill the version) : - [✔️] iOS : - [ ] OSX : - [ ] TVOS : - [ ] WatchOS : ### Installation method: - [ ] Carthage - [✔️] CocoaPods - [ ] Swift Package Manager - [ ] Manually ### Library version: - [x] head - [ ] v2.1.0 - [ ] v2.0.0 - [ ] v1.4.1 - [ ] other: (Please fill in the version you are using.) ### Xcode version: - [ ] 11.4 (Swift 5.2) - [ ] 11.x (Swift 5.1) - [ ] 10.x (Swift 5.0) - [✔️] other: (Please fill in the version you are using.) 13.2 - [ ] objective c
Author
Owner

@cliftonlabrum commented on GitHub (Feb 12, 2022):

Did you ever figure this out? I have a similar problem. 😅

<!-- gh-comment-id:1036977374 --> @cliftonlabrum commented on GitHub (Feb 12, 2022): Did you ever figure this out? I have a similar problem. 😅
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#447
No description provided.