This sample application is developed to demonstrate SSO using WSO2.
Update configuration file src/config.json
with your registered app details.
Note: You will only have to paste in the client ID
generated for the application you registered.
Read more about the SDK configurations here.
{
"clientID": "<ADD_CLIENT_ID_HERE>",
"serverOrigin": "https://api.asgardeo.io",
"signInRedirectURL": "https://localhost:5001/signin/redirect",
"signOutRedirectURL": "https://localhost:5001"
}
npm install && npm start
The app should open at https://localhost:5001
Install Angular CLI globally to use default angular scripts.
npm install -g @angular/cli
Run ng serve
for a dev server. Navigate to http://localhost:5001/
. The app will automatically reload if you change any of the source files.
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.
Run ng lint
to lint the project. This app will use Angular EsLint for this purpose.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
Please read Contributing to the Code Base for details on our code of conduct, and the process for submitting pull requests to us.