How to get the token of the default user?

166 views
Skip to first unread message

Eric Jones

unread,
Jan 30, 2024, 1:48:16 AM1/30/24
to Keycloak User
Hi.
     In the previous version, I was able to get the access_token for the default user of keycloak with the following code.
    ```curl --location --request POST 'https://172.19.199.27:8443/auth/realms/master/protocol/openid-connect/token?grant_type=password&username=admin&password=admin&client_id=admin-cli' \
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \
--header 'Content-Type: application/x-www-form-urlencoded'
    ```

Now that I'm using version 23, how do I get it?
Reply all
Reply to author
Forward
0 new messages