Skip to content

Commit

Permalink
+1
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed Sep 20, 2023
1 parent 2d108ed commit 4c67a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LinkedIn/LinkedInAuthenticator+Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public extension LinkedInAuthenticator {
var queryItems: [URLQueryItem] = [
.init(name: "response_type", value: "code"),
.init(name: "client_id", value: clientId),
.init(name: "redirect_uri", value: redirectUrl.absoluteString),
.init(name: "redirect_uri", value: redirectUrl.absoluteString.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)),
.init(name: "state", value: state),
.init(name: "scope", value: permissions.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed))
]
Expand Down

0 comments on commit 4c67a5c

Please sign in to comment.