You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to configure Keyclaok with a new Client for the Angular app:
Client ID: sormas-angular
Client Protocol: openid-connect
Root URL: http://localhost:4200/
Extra scopes to call the Sormas API
Upon login, Angular app can call the Sormas API
The angular client needs to be adjusted to make a sample call to the Sormas API
The text was updated successfully, but these errors were encountered:
alexandrudanpop
changed the title
Integrate Sormas-Angular with Sormas Keycloak & Sormas API backend (BE)
Integrate Sormas-Angular with Sormas Keycloak & Sormas API backend
Jan 19, 2021
An update on this - currently we need to investigate if Bearer tokens work in the Sormas Rest project. Some initial investigation proves there is code that handles this but there is no concrete example of Bearer tokens generated by Keycloak that work.
Until we have this we will use some basic auth to connect Sormas Angular to the Sormas Rest API.
We will still provide:
Some docs for easily configuring Keycloak for the new Angular application
A POC of the Angular+ Keycloak + Sormas-Rest is now done.
We can use the test-de1.sormas.netzlink.com as a backend for now - as the local docker-compose file still needs work and we should probably do this in a separate issue.
Integration
Please take a look at https://github.com/hzi-braunschweig/SORMAS-Angular#auth-with-keycloak
Configuration
We should be able to configure Keyclaok with a new Client for the Angular app:
Client ID: sormas-angular
Client Protocol: openid-connect
Root URL: http://localhost:4200/
Extra scopes to call the Sormas API
Upon login, Angular app can call the Sormas API
The angular client needs to be adjusted to make a sample call to the Sormas API
The text was updated successfully, but these errors were encountered: