Hello,
is it possible to log in a user e.g. via a console application or a powershell script with the username, password and otp? I already get the otp from my application which has the secret stored.
I have already tried to do it via the HTTP requests, but unfortunately there are too many cookie sets, etc… Could someone possibly make it transparent how exactly this works in the background?
My problem in general is that I have several services, one service account alone would not solve this problem, as different services are allowed to access different things.
From a security point of view, it would make sense to store username + password and OTP key_secret and use them for authentication, then the services would be in the Services group and the users in the Users group.
Is there a better alternative, or are there already libarys or rest calls collections that show how to log in to Keycloak using only rest calls?
Thank you