KeyCloak API possibilities without Admin Access

Hi!

I’m trying to create a native Android app, which would use the rest API.
The app will also have a profile screen, which should look similar to the KeyCloak’s web profile page (for example https://auth.leialoft.com/auth/realms/{realm}/account and https://auth.leialoft-development.com/auth/realms/{realm}/account/credentials endpoints). Unfortunately, the rest API without admin access doesn’t seem to be documented at all. For example I’m trying to understand if it’s possible to do these things, using just rest API without the admin access:

  • Change password
  • Get what IDP’s are connected
  • Disconnect an IDP
  • Log out of all sessions

I know how to achieve those with the admin access, and it’s also available via browser. But is it possible via the rest API?

Thanks in advance,
Alex

1 Like