Skip to content

Commit

Permalink
Use the right base URL for getting master realm tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmcorvidae committed Dec 12, 2024
1 parent e672bf5 commit c598e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terrain/clients/keycloak/admin.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
(defn- keycloak-admin-token-url
"Like keycloak-admin-url but for the 'master' realm to get a token to use with the API"
[& components]
(str (apply curl/url (config/keycloak-admin-base-uri) "realms" "master" components)))
(str (apply curl/url (config/keycloak-base-uri) "realms" "master" components)))

(defn get-token
"Obtains authorization token data for the admin service account. You'll probably want the access_token field in the return value."
Expand Down

0 comments on commit c598e6b

Please sign in to comment.