Skip to content

Commit

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

Co-authored-by: Alexandre Ferris <[email protected]>
  • Loading branch information
AndroidBob and alexandreferris authored Feb 16, 2024
1 parent ca11930 commit a2e16ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
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 a2e16ee

Please sign in to comment.