You should not use this code in production since implicit flow is depreciated. Check new PKCE flow. But since they're similiar you can follow implementation in this codebase.
IdentityServer4, .NET Core API, Angular Universal (SSR) Starter with cookie authentication, docker, nginx and redis support
Generated with MicroBoiler
git clone [email protected]:DooMachine/MicroStarter.git cd MicroBoiler
rm -rf .git
docker-compose -f docker-compose-tools.yml up
dotnet run /seed #seed data for is4 configuration
cd Clients/MicroStarter.AngularSsrClient npm install ng serve