We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea7121d commit 4ee6294Copy full SHA for 4ee6294
Sources/Base/OAuth2AuthRequest.swift
@@ -145,7 +145,7 @@ open class OAuth2AuthRequest {
145
*/
146
func asURLComponents() throws -> URLComponents {
147
let comp = URLComponents(url: url, resolvingAgainstBaseURL: false)
148
- guard var components = comp, "https" == components.scheme else {
+ guard var components = comp, _isDebugAssertConfiguration() || "https" == components.scheme else {
149
throw OAuth2Error.notUsingTLS
150
}
151
if .GET == method && params.count > 0 {
0 commit comments