Browse Source
Merge pull request #203 from itsjef/patch-1
Correct public key value in README.md
pull/224/head
Marcos Pereira
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
README.md
|
@ -98,7 +98,7 @@ token_rpt_info = keycloak_openid.introspect(keycloak_openid.introspect(token['ac |
|
|
token_info = keycloak_openid.introspect(token['access_token']) |
|
|
token_info = keycloak_openid.introspect(token['access_token']) |
|
|
|
|
|
|
|
|
# Decode Token |
|
|
# Decode Token |
|
|
KEYCLOAK_PUBLIC_KEY = keycloak_openid.public_key() |
|
|
|
|
|
|
|
|
KEYCLOAK_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n" + keycloak_openid.public_key() + "\n-----END PUBLIC KEY-----" |
|
|
options = {"verify_signature": True, "verify_aud": True, "verify_exp": True} |
|
|
options = {"verify_signature": True, "verify_aud": True, "verify_exp": True} |
|
|
token_info = keycloak_openid.decode_token(token['access_token'], key=KEYCLOAK_PUBLIC_KEY, options=options) |
|
|
token_info = keycloak_openid.decode_token(token['access_token'], key=KEYCLOAK_PUBLIC_KEY, options=options) |
|
|
|
|
|
|
|
|