Hi,
Afraid we haven't looked at adapters for python yet, but you should be able to use any
OAuth2 or OpenID Connect library to authenticate with Keycloak. The endpoints you need
are:
* Login: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM NAME>/tokens/login
* Access token: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM
NAME>/tokens/access/codes
* Refresh token: <KEYCLOAK SERVER>/auth/tokens/realms/<REALM
NAME>/tokens/refresh
With claims enabled through the admin console the access token contains ID token
parameters from OpenID Connect (preferred_username, email, etc.) so you can retrieve those
directly from the token. Alternatively you can also retrieve the user profile from the
account profile endpoint (<KEYCLOAK SERVER>/auth/realms/<REALM
NAME>/account).
----- Original Message -----
From: "Pablo N" <panulab(a)gmail.com>
To: keycloak-user(a)lists.jboss.org
Sent: Monday, 29 September, 2014 12:42:33 PM
Subject: [keycloak-user] Integration Keycloak with phyton application
Hello ,
I am starting to use Keycloak as IDM inside my actual Project. I have to
projects, Java and Phyton projects and I want to use Keycloak as SSO. I
manage to integrate Java project with Keycloak running in Wildfly, but I
don´t know how I should proceed with Phyton project.
Currently we are using this Phyton plugin to connect with Django:
http://python-social-auth.readthedocs.org/en/latest/
Could you help us about what steps should be done to use Keycloak with this
plugin?
Thank you in advanced,
Pablo Nuño
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user