python-keycloak icon indicating copy to clipboard operation
python-keycloak copied to clipboard

Token from auth_url(..)

Open paweldzielak opened this issue 5 years ago • 1 comments
trafficstars

Hello, I cannot create my own login site due to company restrictions. Is there any posibility to get the token while login into keycloak from auth_url(..) method?

Thank you in advance.

paweldzielak avatar Aug 21 '20 14:08 paweldzielak

Doesn't the Usage example cover this? token = keycloak_openid.token("user", "password") and then you should have it in token['access_token']

double-a avatar Apr 09 '21 19:04 double-a