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

GSGGR-156 Add OIDC authentication flow for the geoshop frontend #21

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

lanseg
Copy link

@lanseg lanseg commented Sep 23, 2024

This pull request adds initializes an open-id authentication for the geoshop-frontend, but to make it fully working there should be an update on the geoshop-backend side. Here is the frontend flow:

  1. Angular application authenticates user with an OIDC provider and sends access token to the backend
  2. Backend gets user information from the OIDC provider by token, creates new user or update existing
  3. Backend issues refresh and access tokens and returns them to the frontend.
    • Thant makes possible to keep name/password login and token refresh working.

If no OIDC provider is configured, OIDC authentication is disabled (see screenshots).
Frontend without OIDC
Frontend with OIDC

@lanseg lanseg self-assigned this Sep 23, 2024
@pmauduit pmauduit changed the title GSGGR-156 Add OICD authentication flow for the geoshop frontend GSGGR-156 Add OIDC authentication flow for the geoshop frontend Sep 27, 2024
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.

1 participant