This project is for learning and development during the onboarding process to the ForgeRock SDK Engineering team
Node.js (12+)
A tool for making locally-trusted certificates such as mkcert: https://github.com/FiloSottile/mkcert#installation
Vue CLI (3)
Clone the repo
git clone https://github.com/daveadams56/sdk-onboarding.git
Install dependencies
npm install
Add the following DNS alias to /etc/hosts
127.0.0.1 app.example.com
Create Self-signed Certificates using mkcert
cd /path/to/project/certs
mkcert -install
mkcert example.com "*.example.com" example.test localhost 127.0.0.1 ::1
Run the app in "hot-reload" mode for development
npm run serve
Build and run the app in production mode for testing
npm run build
node app.js
Access the app in a browser at https://app.example.com:8000/
v0.0.1 (Sep 1st 2021) Created project
v0.0.2 (Sep 1st 2021) Added username and password authentication with ForgeRock SDK
v0.0.3 (Sep 2nd 2021) Added OAuth flow to get tokens and retrieve user info
v0.0.4 (Sep 3rd 2021) Basic SDK flows working
v0.0.5 (Sep 9th 2021) Feature parity using Vue.js 3 + typescript
v0.0.6 (Sep 9th 2021) Enabled centralised login using ID Cloud
v0.0.7 (Sep 9th 2021) Completed centralised login flow using ID Cloud
v0.0.8 (Sep 10th 2021) Fixed bugs on logout after centralised flow and on failure