Skip to content

Commit

Permalink
fix: remove browser allow list and skip of https check (WPB-6609) (#2710
Browse files Browse the repository at this point in the history
)

Co-authored-by: Mojtaba Chenani <chenani@outlook.com>
  • Loading branch information
alexandreferris and mchenani committed Feb 15, 2024
1 parent b9c734b commit d8a31c8
Showing 1 changed file with 0 additions and 9 deletions.
Expand Up @@ -39,8 +39,6 @@ import net.openid.appauth.AuthorizationService
import net.openid.appauth.AuthorizationServiceConfiguration
import net.openid.appauth.ClientAuthentication
import net.openid.appauth.ResponseTypeValues
import net.openid.appauth.browser.BrowserAllowList
import net.openid.appauth.browser.VersionedBrowserMatcher
import org.json.JSONObject
import java.net.URI
import java.security.MessageDigest
Expand All @@ -60,13 +58,6 @@ class OAuthUseCase(
private lateinit var authServiceConfig: AuthorizationServiceConfiguration

private var appAuthConfiguration: AppAuthConfiguration = AppAuthConfiguration.Builder()
.setBrowserMatcher(
BrowserAllowList(
VersionedBrowserMatcher.CHROME_CUSTOM_TAB,
VersionedBrowserMatcher.SAMSUNG_CUSTOM_TAB
)
)
.setSkipIssuerHttpsCheck(true)
.build()

init {
Expand Down

0 comments on commit d8a31c8

Please sign in to comment.