Skip to content
pubscout

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
$ flutter pub add solid_auth
Source repository

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.