Skip to content

Commit

Permalink
feature/keycloak-auth (#223)
Browse files Browse the repository at this point in the history
* remove old auth workflow, introduce keycloak
* remove signup/profile form
* update to strip query, for keycloaks url state
* redirect to home on logout
* adjust user display, nav and profile
  • Loading branch information
KevinJJackson authored Jul 8, 2024
1 parent a0b3d13 commit 30b23c2
Show file tree
Hide file tree
Showing 30 changed files with 248 additions and 1,142 deletions.
10 changes: 9 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Application
VITE_ALERT_EDITOR=false
VITE_FORMULA_EDITOR=true
VITE_INSTRUMENT_CHART=true
VITE_CROSS_SECTION=true
VITE_DEVELOPMENT_BANNER=false
VITE_REPORT_DOWNLOAD=false

# API
VITE_API_URL=https://midas.sec.usace.army.mil/api
VITE_URL_BASE_PATH=/midas
VITE_REPORT_DOWNLOAD=false

# Keycloak
VITE_KC_URL=https://identity.sec.usace.army.mil/auth/
VITE_KC_REALM=cwbi
VITE_KC_CLIENT_ID=midas
10 changes: 9 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
# Application
VITE_ALERT_EDITOR=false
VITE_FORMULA_EDITOR=true
VITE_INSTRUMENT_CHART=true
VITE_CROSS_SECTION=true
VITE_DEVELOPMENT_BANNER=false
VITE_REPORT_DOWNLOAD=false

# API
VITE_API_URL=https://midas-test.cwbi.us/api
VITE_URL_BASE_PATH=/midas
VITE_REPORT_DOWNLOAD=false

# Keycloak
VITE_KC_URL=https://identity-test.cwbi.us/auth/
VITE_KC_REALM=cwbi
VITE_KC_CLIENT_ID=midas
4 changes: 4 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
VITE_REPORT_DOWNLOAD: true
VITE_API_URL: https://develop-midas-api.rsgis.dev
VITE_URL_BASE_PATH: ''
VITE_KC_URL: https://identity-test.cwbi.us/auth/
VITE_KC_REALM: cwbi
VITE_KC_CLIENT_ID: midas
VITE_BASE_REDIRECT_URI: https://develop-midas.rsgis.dev/
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
Loading

0 comments on commit 30b23c2

Please sign in to comment.