From 88a139729968f2ca5f47fc042ebd34de01eb5e2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 15:14:35 +0530 Subject: [PATCH 1/9] chore(deps): bump actions/setup-java from 6.2.0 to 6.3.0 in the setup-java group (#1142) --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d21b96de4..553760d5b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,7 +36,7 @@ jobs: run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection. - name: Set up Java - uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0 + uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0 with: distribution: 'temurin' java-version: '17' From ed46765c9de2c09d5a93f0ce60e718ddf7f008dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 11:39:28 +0530 Subject: [PATCH 2/9] chore(deps): bump ossf/scorecard-action from 2.5.0 to 2.6.0 (#1144) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/scorecard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 7b9a99e46..ce2213a81 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -50,7 +50,7 @@ jobs: persist-credentials: false # required by Scorecard — do not remove - name: Run analysis - uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0 + uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0 with: results_file: results.sarif results_format: sarif From 41599be212c1ccb96e3e31fa776b898f636af6a4 Mon Sep 17 00:00:00 2001 From: utkrishtS Date: Tue, 24 Nov 2026 13:30:30 +0530 Subject: [PATCH 3/9] fix(storage): keep expiresAt stable across DST and time zone changes Gson wrote dates as device local time with a literal 'Z', so a stored expiresAt shifted on read when the wall-clock time was ambiguous (the repeated autumn DST hour) or the device time zone changed between save and the next app start. SecureCredentialsManager then served expired access tokens (e.g. +60 min after the DST transition). Dates are now written in UTC with an explicit offset. Values stored by older SDK versions are still read as local time, so existing sessions keep working after upgrade; older SDKs can read the new format. Fixes #1113 Co-Authored-By: Claude --- .../request/internal/DateTypeAdapter.kt | 56 ++++++++++ .../android/request/internal/GsonProvider.kt | 10 +- .../request/internal/DateTypeAdapterTest.kt | 104 ++++++++++++++++++ 3 files changed, 163 insertions(+), 7 deletions(-) create mode 100644 auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt create mode 100644 auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt diff --git a/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt new file mode 100644 index 000000000..8fb6d353f --- /dev/null +++ b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt @@ -0,0 +1,56 @@ +package com.auth0.android.request.internal + +import com.google.gson.JsonSyntaxException +import com.google.gson.TypeAdapter +import com.google.gson.stream.JsonReader +import com.google.gson.stream.JsonToken +import com.google.gson.stream.JsonWriter +import java.text.ParseException +import java.text.SimpleDateFormat +import java.util.* + +/** + * Writes dates in UTC with an explicit offset so they survive DST transitions and device + * time zone changes. Dates written by older SDK versions (device local time with a literal + * 'Z' suffix) are still read as local time to preserve their original meaning. + */ +internal class DateTypeAdapter : TypeAdapter() { + + override fun write(out: JsonWriter, value: Date?) { + if (value == null) { + out.nullValue() + return + } + out.value(format(value)) + } + + override fun read(reader: JsonReader): Date? { + if (reader.peek() == JsonToken.NULL) { + reader.nextNull() + return null + } + val value = reader.nextString() + return try { + parse(value) + } catch (e: ParseException) { + throw JsonSyntaxException("Failed parsing '$value' as Date", e) + } + } + + internal companion object { + private const val DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ" + private const val LEGACY_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" + + fun format(date: Date): String { + val formatter = SimpleDateFormat(DATE_FORMAT, Locale.US) + formatter.timeZone = TimeZone.getTimeZone("UTC") + return formatter.format(date) + } + + @Throws(ParseException::class) + fun parse(value: String): Date { + val pattern = if (value.endsWith("Z")) LEGACY_DATE_FORMAT else DATE_FORMAT + return SimpleDateFormat(pattern, Locale.US).parse(value) + } + } +} diff --git a/auth0/src/main/java/com/auth0/android/request/internal/GsonProvider.kt b/auth0/src/main/java/com/auth0/android/request/internal/GsonProvider.kt index a927a89dd..a6301d3ec 100755 --- a/auth0/src/main/java/com/auth0/android/request/internal/GsonProvider.kt +++ b/auth0/src/main/java/com/auth0/android/request/internal/GsonProvider.kt @@ -8,13 +8,10 @@ import com.google.gson.Gson import com.google.gson.GsonBuilder import com.google.gson.reflect.TypeToken import java.security.PublicKey -import java.text.SimpleDateFormat import java.util.* internal object GsonProvider { internal val gson: Gson - private var sdf: SimpleDateFormat - private const val DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" init { val jwksType = TypeToken.getParameterized( @@ -28,14 +25,13 @@ internal object GsonProvider { .registerTypeAdapter(Credentials::class.java, CredentialsDeserializer()) .registerTypeAdapter(SSOCredentials::class.java, SSOCredentialsDeserializer()) .registerTypeAdapter(jwksType, JwksDeserializer()) - .setDateFormat(DATE_FORMAT) + .registerTypeAdapter(Date::class.java, DateTypeAdapter()) .create() - sdf = SimpleDateFormat(DATE_FORMAT, Locale.US) } @JvmStatic @VisibleForTesting fun formatDate(date: Date): String { - return sdf.format(date) + return DateTypeAdapter.format(date) } -} \ No newline at end of file +} diff --git a/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt b/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt new file mode 100644 index 000000000..344d48da9 --- /dev/null +++ b/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt @@ -0,0 +1,104 @@ +package com.auth0.android.request.internal + +import com.auth0.android.result.APICredentials +import com.auth0.android.result.Credentials +import com.auth0.android.result.CredentialsMock +import com.google.gson.Gson +import com.google.gson.JsonSyntaxException +import org.hamcrest.MatcherAssert.assertThat +import org.hamcrest.Matchers.`is` +import org.hamcrest.Matchers.nullValue +import org.junit.After +import org.junit.Assert +import org.junit.Before +import org.junit.Test +import java.util.* + +public class DateTypeAdapterTest { + + private lateinit var gson: Gson + private lateinit var defaultTimeZone: TimeZone + + @Before + public fun setUp() { + defaultTimeZone = TimeZone.getDefault() + TimeZone.setDefault(TimeZone.getTimeZone("Europe/Amsterdam")) + gson = GsonProvider.gson + } + + @After + public fun tearDown() { + TimeZone.setDefault(defaultTimeZone) + } + + @Test + public fun shouldWriteDateInUtcWithExplicitOffset() { + // 2026-10-25T00:35:16Z, which is 02:35:16 CEST in Amsterdam + assertThat(gson.toJson(Date(DST_REPEATED_HOUR_MS)), `is`("\"2026-10-25T00:35:16.000+0000\"")) + } + + @Test + public fun shouldRoundTripDateInsideRepeatedDstHour() { + val date = Date(DST_REPEATED_HOUR_MS) + val parsed = gson.fromJson(gson.toJson(date), Date::class.java) + assertThat(parsed, `is`(date)) + } + + @Test + public fun shouldRoundTripDateAcrossTimeZoneChange() { + val date = Date(DST_REPEATED_HOUR_MS) + TimeZone.setDefault(TimeZone.getTimeZone("Asia/Kolkata")) + val json = gson.toJson(date) + TimeZone.setDefault(TimeZone.getTimeZone("America/New_York")) + assertThat(gson.fromJson(json, Date::class.java), `is`(date)) + } + + @Test + public fun shouldReadLegacyFormatAsLocalTime() { + // Older SDK versions wrote local wall-clock time followed by a literal 'Z'. + // 2026-10-24T12:00 CEST is 10:00 UTC. + val parsed = gson.fromJson("\"2026-10-24T12:00:00.000Z\"", Date::class.java) + assertThat(parsed, `is`(Date(1792836000000L))) + } + + @Test + public fun shouldReadDateWithNonUtcOffset() { + val parsed = gson.fromJson("\"2026-10-25T03:35:16.000+0300\"", Date::class.java) + assertThat(parsed, `is`(Date(DST_REPEATED_HOUR_MS))) + } + + @Test + public fun shouldReadAndWriteNull() { + assertThat(gson.fromJson("null", Date::class.java), `is`(nullValue())) + assertThat(gson.toJson(null, Date::class.java), `is`("null")) + } + + @Test + public fun shouldFailOnInvalidDate() { + Assert.assertThrows(JsonSyntaxException::class.java) { + gson.fromJson("\"not-a-date\"", Date::class.java) + } + } + + @Test + public fun shouldRoundTripCredentialsExpiresAtInsideRepeatedDstHour() { + val expiresAt = Date(DST_REPEATED_HOUR_MS) + val credentials: Credentials = + CredentialsMock.create("id", "access", "bearer", "refresh", expiresAt, "openid") + val parsed = gson.fromJson(gson.toJson(credentials), Credentials::class.java) + assertThat(parsed.expiresAt, `is`(expiresAt)) + } + + @Test + public fun shouldRoundTripApiCredentialsExpiresAtInsideRepeatedDstHour() { + val expiresAt = Date(DST_REPEATED_HOUR_MS) + val apiCredentials = APICredentials("access", "bearer", expiresAt, "read:data") + val parsed = gson.fromJson(gson.toJson(apiCredentials), APICredentials::class.java) + assertThat(parsed.expiresAt, `is`(expiresAt)) + } + + private companion object { + // 2026-10-25T00:35:16Z: inside the first occurrence of the repeated 02:00-03:00 hour in Europe/Amsterdam + private const val DST_REPEATED_HOUR_MS = 1792888516000L + } +} From f9024feb47cc3858ce51478ca76d079ec7ec1576 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Nov 2026 14:01:51 +0530 Subject: [PATCH 4/9] chore(deps): bump the codeql group with 4 updates (#1146) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/scorecard.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 553760d5b..6e70cb09f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -45,15 +45,15 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Initialize CodeQL - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/autobuild@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index ce2213a81..5ce373645 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -74,7 +74,7 @@ jobs: # token can write. (github.event.pull_request is null on push/schedule, so !…fork is true.) - name: Upload to code-scanning if: ${{ !github.event.pull_request.head.repo.fork }} - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 with: sarif_file: results.sarif category: scorecard From 6c216d621f3f097065e688552e4322418cdfc64e Mon Sep 17 00:00:00 2001 From: utkrishtS Date: Wed, 25 Nov 2026 12:28:42 +0530 Subject: [PATCH 5/9] fix(deps): bump dokka to 2.3.0 to patch jackson-databind Resolves SEC-89974 (CVE-2026-110879). Dokka 1.9.20 pulled in jackson-databind 2.12.7.1 and is incompatible with patched Jackson, so Dokka is upgraded to 2.3.0 and Jackson modules are pinned to 2.22.4. The javadocJar task now uses dokkaGeneratePublicationHtml (Dokka V2). Build-time only; Jackson is not in the published AAR. Co-Authored-By: Claude --- build.gradle | 11 ++++++++--- gradle/maven-publish.gradle | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index eac37a087..efc76fd28 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ buildscript { } plugins { - id 'org.jetbrains.dokka' version '1.9.20' + id 'org.jetbrains.dokka' version '2.3.0' id 'io.github.gradle-nexus.publish-plugin' version '2.0.0' } @@ -44,8 +44,8 @@ allprojects { } // Patch vulnerable transitive deps to clear the reported CVEs. Pulled in by test - // tooling (netty-codec-http via AGP/grpc-netty, bcprov-jdk18on via Robolectric); - // not included in the published AAR. + // tooling (netty-codec-http via AGP/grpc-netty, bcprov-jdk18on via Robolectric) + // and doc tooling (jackson-* via Dokka); not included in the published AAR. configurations.configureEach { resolutionStrategy.eachDependency { details -> if (details.requested.group == 'io.netty' && details.requested.name == 'netty-codec-http') { @@ -54,6 +54,11 @@ allprojects { if (details.requested.group == 'org.bouncycastle' && details.requested.name == 'bcprov-jdk18on') { details.useVersion '1.85' } + // Keep Jackson modules aligned on the patched release. jackson-annotations is + // published with a minor-only version since 2.20, so leave it as Dokka requests it. + if (details.requested.group.startsWith('com.fasterxml.jackson') && details.requested.name != 'jackson-annotations') { + details.useVersion '2.22.4' + } } } } diff --git a/gradle/maven-publish.gradle b/gradle/maven-publish.gradle index 4575f9a1a..225f706cd 100644 --- a/gradle/maven-publish.gradle +++ b/gradle/maven-publish.gradle @@ -4,9 +4,9 @@ apply plugin: 'signing' apply from: rootProject.file('gradle/versioning.gradle') -task javadocJar(type: Jar, dependsOn: dokkaHtml) { +task javadocJar(type: Jar) { archiveClassifier = "javadoc" - from dokkaHtml.outputDirectory + from tasks.named('dokkaGeneratePublicationHtml').flatMap { it.outputDirectory } } task sourcesJar(type: Jar) { From 523563f0b37311244043c6771c9baff9d97b57cd Mon Sep 17 00:00:00 2001 From: utkrishtS Date: Thu, 26 Nov 2026 10:07:09 +0530 Subject: [PATCH 6/9] fix(storage): read legacy dates in a fixed time zone Capture the legacy time zone once when DateTypeAdapter is created, as the formatter previously configured via setDateFormat did, so a stored legacy value resolves to the same instant if the device time zone changes while the app is running. Document that the adapter is only for SDK-persisted dates and pin the known repeated-DST-hour limitation in a test. Co-Authored-By: Claude --- .../request/internal/DateTypeAdapter.kt | 27 ++++++++++++----- .../request/internal/DateTypeAdapterTest.kt | 30 ++++++++++++++++++- 2 files changed, 49 insertions(+), 8 deletions(-) diff --git a/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt index 8fb6d353f..1f9b3096b 100644 --- a/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt +++ b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt @@ -13,8 +13,17 @@ import java.util.* * Writes dates in UTC with an explicit offset so they survive DST transitions and device * time zone changes. Dates written by older SDK versions (device local time with a literal * 'Z' suffix) are still read as local time to preserve their original meaning. + * + * Only meant for dates the SDK persists itself (e.g. stored credentials): any value ending in + * 'Z' is treated as that legacy local-time format, not as UTC. + * + * @param legacyTimeZone zone used to read legacy values. Captured once, like the formatter + * previously configured via `GsonBuilder.setDateFormat`, so a legacy value resolves to the same + * instant for the lifetime of the adapter even if the device time zone changes. */ -internal class DateTypeAdapter : TypeAdapter() { +internal class DateTypeAdapter( + private val legacyTimeZone: TimeZone = TimeZone.getDefault() +) : TypeAdapter() { override fun write(out: JsonWriter, value: Date?) { if (value == null) { @@ -37,6 +46,16 @@ internal class DateTypeAdapter : TypeAdapter() { } } + @Throws(ParseException::class) + private fun parse(value: String): Date { + if (value.endsWith("Z")) { + val legacyFormatter = SimpleDateFormat(LEGACY_DATE_FORMAT, Locale.US) + legacyFormatter.timeZone = legacyTimeZone + return legacyFormatter.parse(value) + } + return SimpleDateFormat(DATE_FORMAT, Locale.US).parse(value) + } + internal companion object { private const val DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSSZ" private const val LEGACY_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" @@ -46,11 +65,5 @@ internal class DateTypeAdapter : TypeAdapter() { formatter.timeZone = TimeZone.getTimeZone("UTC") return formatter.format(date) } - - @Throws(ParseException::class) - fun parse(value: String): Date { - val pattern = if (value.endsWith("Z")) LEGACY_DATE_FORMAT else DATE_FORMAT - return SimpleDateFormat(pattern, Locale.US).parse(value) - } } } diff --git a/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt b/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt index 344d48da9..d4b17de58 100644 --- a/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt +++ b/auth0/src/test/java/com/auth0/android/request/internal/DateTypeAdapterTest.kt @@ -4,6 +4,7 @@ import com.auth0.android.result.APICredentials import com.auth0.android.result.Credentials import com.auth0.android.result.CredentialsMock import com.google.gson.Gson +import com.google.gson.GsonBuilder import com.google.gson.JsonSyntaxException import org.hamcrest.MatcherAssert.assertThat import org.hamcrest.Matchers.`is` @@ -57,10 +58,32 @@ public class DateTypeAdapterTest { public fun shouldReadLegacyFormatAsLocalTime() { // Older SDK versions wrote local wall-clock time followed by a literal 'Z'. // 2026-10-24T12:00 CEST is 10:00 UTC. - val parsed = gson.fromJson("\"2026-10-24T12:00:00.000Z\"", Date::class.java) + val parsed = gsonWithAdapter(DateTypeAdapter(AMSTERDAM)) + .fromJson("\"2026-10-24T12:00:00.000Z\"", Date::class.java) assertThat(parsed, `is`(Date(1792836000000L))) } + @Test + public fun shouldKeepReadingLegacyFormatInCapturedZoneAfterDefaultZoneChange() { + // Adapter created while the default zone is Europe/Amsterdam (see setUp) + val adapterGson = gsonWithAdapter(DateTypeAdapter()) + val before = adapterGson.fromJson("\"2026-10-24T12:00:00.000Z\"", Date::class.java) + TimeZone.setDefault(TimeZone.getTimeZone("America/New_York")) + val after = adapterGson.fromJson("\"2026-10-24T12:00:00.000Z\"", Date::class.java) + assertThat(before, `is`(Date(1792836000000L))) + assertThat(after, `is`(before)) + } + + @Test + public fun shouldReadLegacyValueInsideRepeatedDstHourOneHourLate() { + // Known limitation: the legacy format never stored the offset, so a local time in the + // repeated hour resolves to its second occurrence (CET), one hour after the real instant. + // It is corrected the next time the value is saved in the new format. + val parsed = gsonWithAdapter(DateTypeAdapter(AMSTERDAM)) + .fromJson("\"2026-10-25T02:35:16.000Z\"", Date::class.java) + assertThat(parsed, `is`(Date(DST_REPEATED_HOUR_MS + ONE_HOUR_MS))) + } + @Test public fun shouldReadDateWithNonUtcOffset() { val parsed = gson.fromJson("\"2026-10-25T03:35:16.000+0300\"", Date::class.java) @@ -97,8 +120,13 @@ public class DateTypeAdapterTest { assertThat(parsed.expiresAt, `is`(expiresAt)) } + private fun gsonWithAdapter(adapter: DateTypeAdapter): Gson = + GsonBuilder().registerTypeAdapter(Date::class.java, adapter).create() + private companion object { // 2026-10-25T00:35:16Z: inside the first occurrence of the repeated 02:00-03:00 hour in Europe/Amsterdam private const val DST_REPEATED_HOUR_MS = 1792888516000L + private const val ONE_HOUR_MS = 3600000L + private val AMSTERDAM: TimeZone = TimeZone.getTimeZone("Europe/Amsterdam") } } From 37dbc36fb2611fd35d874a28fb7685ffb9811008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Fri, 27 Nov 2026 06:30:55 +0100 Subject: [PATCH 7/9] chore(security): uses pinned versions of actions (#1149) --- .github/workflows/release.yml | 2 +- .github/workflows/sca_scan.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6036d5d45..deb7079de 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: echo "version=$version" >> $GITHUB_OUTPUT - name: Run RL Scanner - uses: auth0/devsecops-tooling/.github/actions/rl-scan@main + uses: auth0/devsecops-tooling/.github/actions/rl-scan@e29f26478db18ff0bcbe4bc447a8fbd54fbeec9e # main on 2026-11-27, TODO: use a release instead with: artifact-name: "auth0-android" artifact-path: "${{ github.workspace }}/auth0/build/outputs/aar/auth0-release.aar" diff --git a/.github/workflows/sca_scan.yml b/.github/workflows/sca_scan.yml index 9f7d29d6c..c6acbff0d 100644 --- a/.github/workflows/sca_scan.yml +++ b/.github/workflows/sca_scan.yml @@ -6,7 +6,7 @@ on: jobs: snyk-cli: - uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main + uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@e29f26478db18ff0bcbe4bc447a8fbd54fbeec9e # main on 2026-11-27, TODO: use a release instead with: java-version: "17" additional-arguments: "--exclude=README.md,.jfrog" From 7b8e8f403d2bfbfb630a383144f24f5b2f74a15c Mon Sep 17 00:00:00 2001 From: utkrishtS Date: Fri, 27 Nov 2026 13:33:35 +0530 Subject: [PATCH 8/9] docs: note legacy DST-hour limitation in DateTypeAdapter KDoc Co-Authored-By: Claude --- .../java/com/auth0/android/request/internal/DateTypeAdapter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt index 1f9b3096b..c94a70812 100644 --- a/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt +++ b/auth0/src/main/java/com/auth0/android/request/internal/DateTypeAdapter.kt @@ -12,7 +12,8 @@ import java.util.* /** * Writes dates in UTC with an explicit offset so they survive DST transitions and device * time zone changes. Dates written by older SDK versions (device local time with a literal - * 'Z' suffix) are still read as local time to preserve their original meaning. + * 'Z' suffix) are still read as local time to preserve their original meaning. Such a value + * inside a repeated DST hour is ambiguous and reads one hour late until it is saved again. * * Only meant for dates the SDK persists itself (e.g. stored credentials): any value ending in * 'Z' is treated as that legacy local-time format, not as UTC. From 3ab1cd10c6102ab9ca58d4249c679ebe06be1db2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 12:47:48 +0530 Subject: [PATCH 9/9] chore(deps): bump the codeql group with 4 updates (#1151) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/scorecard.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6e70cb09f..4dfe1a7e4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -45,15 +45,15 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Initialize CodeQL - uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 + uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 + uses: github/codeql-action/autobuild@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 + uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: category: "/language:${{ matrix.language }}" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5ce373645..eeb3b679b 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -74,7 +74,7 @@ jobs: # token can write. (github.event.pull_request is null on push/schedule, so !…fork is true.) - name: Upload to code-scanning if: ${{ !github.event.pull_request.head.repo.fork }} - uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4 + uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: sarif_file: results.sarif category: scorecard