GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - axioms-io/sample-angular: Angular Sample using Axioms Auth. See sample demo website.

This repository was archived by the owner on Dec 13, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
e2e
e2e
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
angular.json
angular.json
 
 
browserslist
browserslist
 
 
build_env_settings.jpg
build_env_settings.jpg
 
 
build_settings.jpg
build_settings.jpg
 
 
extra-webpack.config.js
extra-webpack.config.js
 
 
karma.conf.js
karma.conf.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
sample-config.json
sample-config.json
 
 
tsconfig.app.json
tsconfig.app.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.spec.json
tsconfig.spec.json
 
 
tslint.json
tslint.json
 
 

Repository files navigation

sample-angular

Angular sample with Axioms authentication using web-js SDK.

Clone or download this repo

git clone [email protected]:axioms-io/sample-angular.git
cd sample-react

Make sure to update the origin.

git remote set-url origin new.git.url/here

Install dependencies

npm install

Update config

Add .env in project root to add following configs. If you are using Netlify for deployment and build you can use their environment variables (see Netlify details at the end).

  • Your-App-Host is where you going to host or run your app. It can be localhost or a domain
  • Your-Client-ID is your client id which can be obtained from the Axioms Dashboard -> Clients section
  • Your-Axioms-Domain is your Axioms tenant default domain or custom domain mapped to Axioms servers
NG_APP_Client_Id=<Your-Client-ID>
NG_APP_Axioms_Domain=<Your-Axioms-Domain>
NG_APP_Redirect_Uri=https://<Your-App-Host>/callback
NG_APP_Post_Logout_Uri=https://<Your-App-Host>/login
NG_APP_Response_Type=<Your-Response-Type>
NG_APP_Scope=<Your-Scope>
NG_APP_Post_Login_Navigate=<Your-Post-Login-Navigate>

We recommend to use code response type (Authorization code flow with PKCE). For more supported response type options please review web-js documentation.

Example .env file

NG_APP_Client_Id=MvnGPGwPJ7DNs0fQLpAr4dhi2PbfuQX1
NG_APP_Axioms_Domain=auth.test-unlimited.com
NG_APP_Redirect_Uri=http://localhost:4200/callback
NG_APP_Post_Logout_Uri=http://localhost:4200/login
NG_APP_Response_Type=code
NG_APP_Scope=openid profile
NG_APP_Post_Login_Navigate=/dashboard

Compile and hot-reload for local development

ng serve

Compile and minify for production

Build using .env

ng build --prod

Build and deploy to Netlify

Simply click following button and provide your .env variables,

Deploy to Netlify

OR

  1. Fork this repository and connect your Github project in Netlify.

  2. Configure your build command and output directory and you are good to go.

Build Settings

Build command: ng build or ng build --prod

Publish directory: build/sample-angular

Build settings

Environment Settings

Build Environment settings

About

Angular Sample using Axioms Auth. See sample demo website.

angular.demo.axioms.io/

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.