de-jena / MDO

Model based Data Organizer
Other
1 stars 1 forks source link

Keycloak programatically login #4

Open isalvadori opened 1 year ago

isalvadori commented 1 year ago

Check whether is possible with keycloak to login through basic auth flow and get back the jwt token programatically

isalvadori commented 1 year ago

Following the documentation provided here I was able to connect programatically to the keycloak server I created and to get an AccessTokenResponse back.

isalvadori commented 1 year ago

We would need a mechanism in the KeycloakAuthService for:

We would then need to:

maho7791 commented 1 year ago

refresh token and validate is the same for me.

maho7791 commented 1 year ago

I left some comments in your commit: https://github.com/de-jena/MDO/commit/ccb0861aa904031534b6b139d59bb32f6f895a1f