Skip to content

pbissonho/Aukin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aukin

A simple application to demonstrate authentication using Flutter and ASP.Net Core.

Design

alt-text

Design created by Andrea

Demo

alt-text

Current features

  • Log in
  • Sign up
  • Loggout
  • Password reset

Next features

  • Email verification
  • Two-factor authentication
  • Profile editing

Mobile

Core packages used:

  • Koin and BlocProvider - Dependency injection/Service Locator
  • Bloc/flutter_bloc - State management
  • Fresh(FORK) - Helps implement token refresh. I currently use a fork with some changes.
  • Flutter Secure Storage - Store token data in secure storage
  • Equatable - Helps to implement equality
  • Dio - Http client
  • Corsac_jwt - Help read the JTW token data.

Start

git clone https://github.com/pbissonho/Flutter-Authentication.git

cd mobile

flutter run

Test without the backend

Just change the line 'app.modules (prod)' to 'app.modules (dev)' in the file 'app.dart'. Then the application will use the services/repositories fakes.

@override
  void initState() {
    super.initState();

    startKoin((app) {
      app.printLogger(level: Level.debug);

      // Development
      app.modules(dev);

      //Production
      //app.module(prod)
    });
  }

Backend

Core packages used:

  • Database - InMemory
  • Cache - InMemory (I will add token cache and refresh-token with Redis)
  • Identity - Manages users, passwords, profile data,tokens.
  • NetDevPack.Identity - A set of implementations to assist help use of Identity
  • Sendgrid - Email service

About

A simple application to demonstrate authentication using Flutter and ASP.Net Core.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages