Field | Value |
---|---|
Grant type | Authorization Code or Client Credentials |
Callback URL | Enter the Application's base URL if you dont have a callback URL |
Auth URL | http://{host_name}/auth/realms/{realm_name}/protocol/openid-connect/auth |
Access token URL | http://{host_name}/auth/realms/{realm_name}/protocol/openid-connect/token |
Client ID | Enter the Keycloak Client ID |
Client secret | Enter the Keycloak Client secret |
Scope | Blank |
Client Authentication | Send as Basic Auth Header |
A834c0606ba71336423013699db8e971
curl -X GET -H "Authorization: Bearer <Access Token>" -H "Content-type: application/json" http://{hostname}/auth/realms/{realm_name}/protocol/openid-connect/userinfoCopy the attribute value against the username, you will need to configure it in plugin. In this example, the value is "preferred_username".
curl -X GET -H "Authorization: Bearer <Access Token>" -H "Content-type: application/json" http://{jira_base_url}/rest/api/2/project
curl -X GET -H "Authorization: Bearer <Access Token>" -H "Content-type: application/json" http://{confluence_base_url}/confluence/rest/api/content/
curl -X GET -H "Authorization: Bearer <Access Token>" -H "Content-type: application/json" http://{bitbucket_base_url}/rest/api/1.0/dashboard/pull-requests/
If you are looking for anything which you cannot find, please drop us an email on info@xecurify.com