handleWebLoginCallback method

Future<bool> handleWebLoginCallback(
  1. String? url
)

Fetches the currently authenticated user ID. Returns null if no user is authenticated.

Implementation

Future<bool> handleWebLoginCallback(String? url) async {
  try {
    return await auth02.handleRedirectCallback(
      auth0Domain: auth0Domain,
      auth0ClientId: auth0ClientId,
      redirectUri: redirectUri,
      url: url,
    );
  } catch (e) {
    throw Exception(e);
  }
}