solid_auth
1.1.1, released 6 weeks ago by togaware.com
Authenticate to a Solid POD server using Solid-OIDC with certified oidc.
WASM-ready
What it does
Authenticates users to Solid POD servers using Solid-OIDC with Authorization Code and PKCE. Handles DPoP key binding and WebID issuer discovery across multiple platforms.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Flutter application that needs to authenticate with Solid POD servers.
- Requiring Solid-OIDC authentication with DPoP key binding and WebID discovery.
Skip it when
- Building an app that requires standard OAuth providers like Google or Apple rather than Solid PODs.
Strengths
- Supports Solid-OIDC login across Android, iOS, Web, Windows, macOS, and Linux.
- Built on the OpenID-certified package:oidc.
- Automates DPoP key generation and proof injection.
Weaknesses
- Requires platform-specific configuration of redirect URIs and client ID documents.
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 12
Requires registering redirect URIs and post-logout redirect URIs in your client ID document and configuring platform-specific URL schemes or fixed ports for desktop.
final auth = SolidAuthManager(
config: SolidOidcConfig(
clientId: 'https://your-domain/client-profile.jsonld',
redirectUri: Uri.parse('https://your-domain/redirect.html'),
postLogoutRedirectUri: Uri.parse('https://your-domain/redirect.html'),
scopes: SolidScopes.defaultScopes,
),
);
final authData = await auth.authenticate('https://pods.solidcommunity.au/alice-barnes/profile/card#me');Works with
Packages commonly used together with solid_auth: ones it builds on, ones built on it, and its own family.
- cryptosolid_auth depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- uuidsolid_auth depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- websolid_auth depends on itLightweight bindings for browser APIs via JS interop
- http_parsersolid_auth depends on itA platform-independent package for parsing and serializing HTTP formats.
- loggingsolid_auth depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- flutter_secure_storagesolid_auth depends on itSecure key-value storage using platform-specific secure mechanisms
- dart_jsonwebtokensolid_auth depends on itA Dart library for creating, signing, decoding and verifying JSON Web Tokens (JWT).
- oidcsolid_auth depends on itOpenID Connect RP plugin for Flutter supporting all platforms.