Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
a10f01f
windows support added
NandanPrabhu Aug 17, 2025
ce3967c
windows support added
NandanPrabhu Aug 17, 2025
50ebfae
windows support added
NandanPrabhu Aug 17, 2025
f2d0866
windows support fixes build issue due to dependencies
NandanPrabhu Aug 21, 2025
c4c896d
fixes redirection issues
NandanPrabhu Sep 7, 2025
9b6d647
.env.example added
NandanPrabhu Sep 8, 2025
1213893
Merge branch 'main' into SDK-6071
NandanPrabhu Dec 7, 2025
15534c0
Adds PKCE flow
NandanPrabhu Dec 17, 2025
1d0112e
build(deps): bump codecov/codecov-action from 5.5.1 to 5.5.2 (#689)
dependabot[bot] Dec 10, 2025
9e9e103
Adding DPoP feature for flutter
utkrishtsahu Oct 6, 2025
0fb02f4
feat(android): Upgrade native SDK to 3.9.0 and adapt to breaking changes
utkrishtsahu Oct 14, 2025
cdc2327
adding Dp feature with platform updates
utkrishtsahu Nov 20, 2025
a92e5d4
adding changes as per github action bot
utkrishtsahu Nov 20, 2025
5c29020
addressed bot PR review comments
utkrishtsahu Nov 20, 2025
f2742d3
Fixing UT failure issue in CI for android,ios and macos
utkrishtsahu Nov 20, 2025
f679eeb
Fixed review comments by prince and claude
utkrishtsahu Nov 21, 2025
ba1079b
restored to java 8 and handled review comments
utkrishtsahu Nov 27, 2025
ad4bdcb
Resolving Claud code review
utkrishtsahu Dec 1, 2025
59d453a
Handle review comments and added all UT for flutter including DPoP
utkrishtsahu Dec 2, 2025
e5ef368
addressing unit test failure for android,ios and symlink
utkrishtsahu Dec 2, 2025
8d60adc
Fix race conditions in iOS/macOS unit tests and document cache-only b…
utkrishtsahu Dec 3, 2025
3885a98
Fix iOS/macOS unit test failures
utkrishtsahu Dec 3, 2025
6f5ea14
Resilving review comments and ios UT test failure
utkrishtsahu Dec 3, 2025
51df028
Fix CI failures: Add missing files and update test mocks
utkrishtsahu Dec 3, 2025
d68977e
Fix iOS/macOS unit test timeouts by reverting async test changes
utkrishtsahu Dec 3, 2025
ff9894b
Fix iOS unit test timeouts by adding explicit 5s timeouts to all expe…
utkrishtsahu Dec 3, 2025
248b801
fix iOS unit test timeouts by reverting to proven async/sync patterns
utkrishtsahu Dec 5, 2025
d361a2a
Fixes iOS UTs
NandanPrabhu Dec 5, 2025
155ba50
Adds scenedelegate conformance
NandanPrabhu Dec 5, 2025
cc21832
Address review comments: separate DPoP channel and simplify docs
utkrishtsahu Dec 5, 2025
1115242
Fix test: use correct index for CredentialsManagerMethodCallHandler
utkrishtsahu Dec 5, 2025
e77a5e4
Removed UT as per review comments
utkrishtsahu Dec 5, 2025
580338c
addresed few review comments
utkrishtsahu Dec 5, 2025
a3c5eee
refactor: Move DPoP utility methods from AuthenticationApi to Auth0 c…
utkrishtsahu Dec 5, 2025
ff11a37
Handled review comments:Decoupling in all platforms,removal of commen…
utkrishtsahu Dec 8, 2025
fc88d2c
added UT in CredentialsManagerHandlerTests.swift
utkrishtsahu Dec 8, 2025
6e1cec2
feat: refactor DPoP operations and add tokenType parameter to userPro…
utkrishtsahu Dec 9, 2025
2029df8
Fix iOS CredentialsManager caching tests
utkrishtsahu Dec 9, 2025
a260001
Fixing ios CI failure
utkrishtsahu Dec 9, 2025
0fc8550
Handling review comments UserInfoApiRequestHandler and AuthAPIUserInf…
utkrishtsahu Dec 9, 2025
648acd4
fixing lint issues
utkrishtsahu Dec 10, 2025
938f928
Docs: Add v2.0.0 migration notice and update documentation
utkrishtsahu Dec 10, 2025
551ef0f
Fix linting issue in auth0_flutter folder
utkrishtsahu Dec 10, 2025
767a2c8
Release afpi-v2.0.0-beta.1 (#695)
utkrishtsahu Dec 11, 2025
ac65a8a
Release af-v2.0.0-beta.1 (#696)
utkrishtsahu Dec 11, 2025
17a4020
build(deps): bump actions/cache from 4 to 5 in /.github/actions/setup…
dependabot[bot] Dec 14, 2025
5e9f5c2
build(deps): bump actions/upload-artifact from 5 to 6 in /.github/act…
dependabot[bot] Dec 14, 2025
9cf2471
build(deps): bump actions/upload-artifact from 5 to 6 in /.github/act…
dependabot[bot] Dec 15, 2025
bc450a3
build(deps): bump actions/download-artifact from 6.0.0 to 7.0.0 (#699)
dependabot[bot] Dec 15, 2025
85b7cd9
build(deps): bump actions/upload-artifact from 5 to 6 (#698)
dependabot[bot] Dec 15, 2025
81d0af2
build(deps-dev): bump glob from 10.4.5 to 10.5.0 in /appium-test (#683)
dependabot[bot] Dec 15, 2025
dea4fa3
PKCE bug fixes
NandanPrabhu Dec 19, 2025
8f57ad9
code refactoring
NandanPrabhu Dec 19, 2025
bac263a
fixes build issues
NandanPrabhu Dec 21, 2025
302be07
fixes build issues
NandanPrabhu Dec 21, 2025
dbcbd29
Fixes issue due to expires in
NandanPrabhu Dec 21, 2025
12f5b37
Fixes PKCE issues
NandanPrabhu Jan 3, 2026
6136181
Fixes PKCE issues
NandanPrabhu Jan 3, 2026
4bf059e
adds logout code
NandanPrabhu Jan 5, 2026
eb4a138
adds login to bring app window to the front on redirection
NandanPrabhu Jan 8, 2026
69e57aa
build(deps): bump ruby/setup-ruby in /.github/actions/setup-darwin
dependabot[bot] Dec 18, 2025
a5ac9e6
fix: Fixes the build error when running the `dart run build_runner bu…
pmathew92 Dec 19, 2025
6b5ea13
build(deps): bump ruby/setup-ruby from 1.273.0 to 1.274.0 in /.github…
dependabot[bot] Dec 22, 2025
50bf132
build(deps): bump ruby/setup-ruby from 1.274.0 to 1.275.0 in /.github…
dependabot[bot] Dec 24, 2025
9637414
build(deps): bump ruby/setup-ruby from 1.275.0 to 1.278.0 in /.github…
dependabot[bot] Jan 4, 2026
282cdeb
build(deps): bump ruby/setup-ruby from 1.278.0 to 1.279.0 in /.github…
dependabot[bot] Jan 7, 2026
e9e935f
Merge branch 'main' into SDK-6071
NandanPrabhu Jan 8, 2026
c1cd636
deleted few unused files
NandanPrabhu Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"files.associations": {
"variant": "cpp",
"tuple": "cpp",
"utility": "cpp",
"array": "cpp",
"vector": "cpp",
"xstring": "cpp",
"xutility": "cpp",
"algorithm": "cpp",
"any": "cpp",
"atomic": "cpp",
"bit": "cpp",
"bitset": "cpp",
"chrono": "cpp",
"cmath": "cpp",
"compare": "cpp",
"complex": "cpp",
"concepts": "cpp",
"deque": "cpp",
"exception": "cpp",
"format": "cpp",
"forward_list": "cpp",
"fstream": "cpp",
"functional": "cpp",
"future": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"iterator": "cpp",
"limits": "cpp",
"list": "cpp",
"map": "cpp",
"memory": "cpp",
"new": "cpp",
"numeric": "cpp",
"optional": "cpp",
"queue": "cpp",
"random": "cpp",
"ratio": "cpp",
"regex": "cpp",
"string": "cpp",
"system_error": "cpp",
"type_traits": "cpp",
"unordered_map": "cpp",
"xlocale": "cpp",
"xlocnum": "cpp",
"xmemory": "cpp",
"xtr1common": "cpp",
"xtree": "cpp",
"cctype": "cpp",
"charconv": "cpp",
"clocale": "cpp",
"codecvt": "cpp",
"condition_variable": "cpp",
"csetjmp": "cpp",
"cstddef": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"initializer_list": "cpp",
"iomanip": "cpp",
"ios": "cpp",
"iostream": "cpp",
"locale": "cpp",
"mutex": "cpp",
"ostream": "cpp",
"set": "cpp",
"sstream": "cpp",
"stdexcept": "cpp",
"stop_token": "cpp",
"streambuf": "cpp",
"thread": "cpp",
"typeinfo": "cpp",
"unordered_set": "cpp",
"xfacet": "cpp",
"xhash": "cpp",
"xiosbase": "cpp",
"xlocbuf": "cpp",
"xlocinfo": "cpp",
"xlocmes": "cpp",
"xlocmon": "cpp",
"xloctime": "cpp"
}
}
36 changes: 34 additions & 2 deletions auth0_flutter/.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,39 @@
# This file should be version controlled and should not be manually edited.

version:
revision: 097d3313d8e2c7f901932d63e537c1acefb87800
channel: stable
revision: "ea121f8859e4b13e47a8f845e4586164519588bc"
channel: "[user-branch]"

project_type: plugin

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
- platform: android
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
- platform: ios
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
- platform: macos
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
- platform: web
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc
- platform: windows
create_revision: ea121f8859e4b13e47a8f845e4586164519588bc
base_revision: ea121f8859e4b13e47a8f845e4586164519588bc

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
2 changes: 1 addition & 1 deletion auth0_flutter/example/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ AUTH0_CLIENT_ID=YOUR_AUTH0_CLIENT_ID
# settings page of your Auth0 application with the custom scheme value.
# 2. Update the scheme value in android/app/src/main/res/values/strings.xml
#
AUTH0_CUSTOM_SCHEME=YOUR_AUTH0_CUSTOM_SCHEME
AUTH0_CUSTOM_SCHEME=YOUR_AUTH0_CUSTOM_SCHEME
44 changes: 44 additions & 0 deletions auth0_flutter/example/android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}

android {
namespace = "com.example.auth0_flutter_example"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.auth0_flutter_example"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
}

flutter {
source = "../.."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.auth0_flutter_example

import io.flutter.embedding.android.FlutterActivity

class MainActivity : FlutterActivity()
21 changes: 21 additions & 0 deletions auth0_flutter/example/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
allprojects {
repositories {
google()
mavenCentral()
}
}

val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
rootProject.layout.buildDirectory.value(newBuildDir)

subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
25 changes: 25 additions & 0 deletions auth0_flutter/example/android/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}

includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")

repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}

plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id("org.jetbrains.kotlin.android") version "1.8.22" apply false
}

include(":app")
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// This is a basic Flutter integration test.
//
// Since integration tests run in a full Flutter application, they can interact
// with the host side of a plugin implementation, unlike Dart unit tests.
//
// For more information about Flutter integration tests, please see
// https://flutter.dev/to/integration-testing


import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import 'package:auth0_flutter/auth0_flutter.dart';

void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('getPlatformVersion test', (final WidgetTester tester) async {
final Auth0Flutter plugin = Auth0Flutter();
final String? version = await plugin.getPlatformVersion();
// The version string depends on the host platform running the test, so
// just assert that some non-empty string is returned.
expect(version?.isNotEmpty, true);
});
}
27 changes: 27 additions & 0 deletions auth0_flutter/example/ios/RunnerTests/RunnerTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import Flutter
import UIKit
import XCTest


@testable import auth0_flutter

// This demonstrates a simple unit test of the Swift portion of this plugin's implementation.
//
// See https://developer.apple.com/documentation/xctest for more information about using XCTest.

class RunnerTests: XCTestCase {

func testGetPlatformVersion() {
let plugin = Auth0FlutterPlugin()

let call = FlutterMethodCall(methodName: "getPlatformVersion", arguments: [])

let resultExpectation = expectation(description: "result block must be called.")
plugin.handle(call) { result in
XCTAssertEqual(result as! String, "iOS " + UIDevice.current.systemVersion)
resultExpectation.fulfill()
}
waitForExpectations(timeout: 1)
}

}
Loading
Loading