★ wanayoo — archive 1999 https://github.com/FusionAuth/fusionauth-example-angularNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
e2e
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

SecureAngular

This project was generated with Angular CLI version 9.0.6.

This is an Angular+Express application which leverages FusionAuth for authentication and user data. This application will use an OAuth Authorization Code workflow and the PKCE extension to log users in. PKCE stands for Proof Key for Code Exchange, and is often pronounced “pixie”.

You can also read the blog post here: https://fusionauth.io/blog/2020/03/31/how-to-securely-implement-oauth-angular

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Express server

To setup: npm install cors express express-session request

To run: npm run server which will start a server on port 3000.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Example of integrating Angular with FusionAuth via OAuth Authorization Code Grant

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.