- I need to get access_token from keycloak.
- Currently, I am getting grant_type = client_credentials and client_id, client_secret;
- But due to some system requirements, we need to use implicit flow. But I can’t get the password so I can’t get the token with grant_type = password .
- I use react native and am using curl to get tokens. Is there any solution that can help me? Please?
I have read the documentation for this section and found that, if using implicit flow, and using Keycloak Server OIDC URI Endpoints, with grant_type = password the username and password are required. But I can’t get the user’s username and password, so I don’t know how to proceed.
I’m doing a bit more research, and was wondering if you were by any chance using LDAP?
I’m not entirely sure if this is an implicit flow oriented solution, but, if it is, this should help you figure out where there may have been issues in the initial configuration: https://medium.com/@mrtcve/mattermost-teams-edition-replacing-gitlab-sso-with-keycloak-dabf13ebb99e