jacintoarias / ng-boilerplate Goto Github PK
View Code? Open in Web Editor NEWMy custom personal angular boilerplate: angular-cli, bootstrap4, material, ngrx and auth0
My custom personal angular boilerplate: angular-cli, bootstrap4, material, ngrx and auth0
There is a blocking error with the hash fragment serialization of this version to be fixed in 5.2.9.
We used to edit metadata by calling the management API with the received IDtoken after authentication.
This seems no longer be a recommended option. We must explore other paths to do this or relegate this to an external API and thus outside the scope of this project.
Reference:
It might need a stub for auth0 or a public testing tenant.
Could use the auth0 management API to modify user metadata
As recommended by Auth0
TokenService only exists to bypass store and get the token inside the JwtOptionsFactory
. There must be a way to inject the store and select it directly.
export function jwtOptionsFactory(tokenService) {
return {
tokenGetter: () => {
return tokenService.getAccessToken().toPromise();
},
whitelistedDomains: environment.jwtOptions.whitelistedDomains,
};
}
JwtModule.forRoot({
jwtOptionsProvider: {
provide: JWT_OPTIONS,
useFactory: jwtOptionsFactory,
deps: [TokenService]
}
}),
Pros:
Cons
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.