Browse Source

Add implementation for auth_url

pull/12/head
Sebastian Wehrmann 6 years ago
parent
commit
cddc95e5af
No known key found for this signature in database GPG Key ID: 8BC01ED0CDC923F1
  1. 4
      keycloak/keycloak_openid.py

4
keycloak/keycloak_openid.py

@ -156,7 +156,9 @@ class KeycloakOpenID:
:return:
"""
return NotImplemented
return (self.well_know()['authorization_endpoint'] +
'?client_id=' + self.client_id +
'&response_type=code&redirect_uri=' + redirect_uri)
def token(self, username="", password="", grant_type=["password"], code="", redirect_uri=""):
"""

Loading…
Cancel
Save