Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECER-485: Authentication SSO (BCeID) #8

Merged
merged 15 commits into from
Dec 6, 2023
Merged

Conversation

pcatkins
Copy link
Contributor

@pcatkins pcatkins commented Dec 5, 2023

  • Login protection for authenticated users
  • Route protection for non-authenticated users
  • Login with BCeID button starts SSO login sequence
  • Subsequent API calls contain access token in authorization header
  • OpenID configuration fetched from server before app mount

pcatkins and others added 13 commits November 28, 2023 09:07
- Added default Jetbrains .gitignore
- Initial config files
- Vue router
- Pinia store
- Moved api calls out of component
- Removed starter main.css
- Move service calls into Pinia store
- Simplify component code
- Navigation guard for authentication protected routes
- Navigation guard for login if already authenticated
- Persist authentication state with pinia-plugin-persistedstate
@pcatkins pcatkins requested a review from ytqsl December 5, 2023 20:50
Copy link
Contributor

@ytqsl ytqsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor fixes are required

- Increased prettier line length to 120 chars + lint
- Remove yarn.lock to use NPM
- Added .idea/ to .gitignore and removed JetBrains boilerplate
- Remove .idea/ folder
@pcatkins
Copy link
Contributor Author

pcatkins commented Dec 6, 2023

@ytqsl PR updated with requested changes, please re-review.

@pcatkins pcatkins requested a review from ytqsl December 6, 2023 21:56
@ytqsl ytqsl merged commit 0baa710 into master Dec 6, 2023
1 check passed
@ytqsl ytqsl deleted the parker/authentication branch December 6, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants