Skip to content

Commit

Permalink
Fix useTLS attribute in OAuth2Provider.4dm
Browse files Browse the repository at this point in the history
  • Loading branch information
yannicktrinh committed Apr 15, 2024
1 parent 0644589 commit 11a9f27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Project/Sources/Classes/OAuth2Provider.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ Function _getToken_SignedIn($bUseRefreshToken : Boolean)->$result : Object
var $options : Object:={}
$options.port:=_getPortFromURL(This.redirectURI)
$options.enableDebugLog:=This.enableDebugLog
$options.useTLS:=(Position("https"; This.redirectURI)=1)
If ((This.authenticationPage#Null) || (This.authenticationErrorPage#Null))
var $file : Object:=(This.authenticationPage#Null) ? This.authenticationPage : This.authenticationErrorPage
If (OB Instance of($file; 4D.File))
Expand Down

0 comments on commit 11a9f27

Please sign in to comment.