Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

A demo app for using Solid Auth package

Flutter Demo app for authenticate with Solid PODs. The app can run on both mobile (tested on Anroid) and web platforms (tested on Chrome and Firefox).

Acknowledgement

Parts of this package (under lib/src/openid) are derived from the openid_client package, with custom modifications to support the Solid OIDC authentication flow. We would like to acknowledge and thank the authors of openid_client for their valuable work, which made these adaptations possible.

Usage

Fork the demo app in the \example directory into a local directory and open the pubspec.yaml file. Check whether the latest version of the package solid_auth is added under dependencies. Now run the following to get the necessary packages.

flutter pub get

Running the app on web or mobile

After all the required packages are imported, then first select the device you want the app to run. Then run the app by pressing CTRL + F5.

To access public data of a POD input the WebID into the text area and click READ PUBLIC INFO button.

public data

To login input the SOLID POD provider URL into the text area and click LOGIN button. After login you can edit the profile data.

login

edit data

To logout simply click the LOGOUT button.

logout