Skip to content

Commit

Permalink
Merge branch 'main' into fusionauth-1.52.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-Ritter authored Dec 21, 2024
2 parents f970a34 + 79fdfd1 commit f45558a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,7 @@ class OAuthAuthorizationService internal constructor(
// Otherwise we get a NullPointerException, when trying to validate the id token later

val issuerScheme = configuration.discoveryDoc?.issuer?.let {
try {
Uri.parse(it).scheme
} catch (e: Exception) {
null
}
Uri.parse(it).scheme
}
if (issuerScheme != "https" && issuerScheme != "http") {
continuation.resumeWithException(AuthorizationException("Invalid issuer URL"))
Expand Down

0 comments on commit f45558a

Please sign in to comment.