GeoWerkstatt / geopilot

geopilot ist ein benutzerfreundliches Werkzeug für die Abgabe und die Validierung von Geodaten. Es unterstützt eine Deklaration des Datensatzes und stellt die validierten Daten über STAC zum Zugriff bereit.
https://geopilot.ch
MIT License
0 stars 0 forks source link

Add OIDC server for local development environment #183

Closed flenny closed 3 weeks ago

flenny commented 4 months ago

Atm a authorized Microsoft Account is needed to log in to the web application. When the database gets (re-)created, the _subid must be added to the users table each time the development environment gets created.

flenny commented 3 months ago

We wanted to use Keycloak (or a similar product) for local development and Microsoft Entra ID for production. Unfortunately msal-react doesn't offer support for non Microsoft authorities. If we want to add an OpenID Connect (OIDC) server for local development we must switch to another auth client library react-oidc-context.

flenny commented 1 month ago

WIP: https://github.com/GeoWerkstatt/geopilot/tree/wip-add-local-development-oidc-server