Several fixes
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 55s
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 55s
- added organizations - added industries - added logo in 2 colors for light and dark theme - improved authorization to allow multi tenancy - added Bruno configs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
meta {
|
||||
name: Auth App
|
||||
name: Auth Bruno
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
@@ -15,10 +15,9 @@ headers {
|
||||
}
|
||||
|
||||
body:form-urlencoded {
|
||||
grant_type: password
|
||||
client_id: {{KEYCLOAK_CLIENT_ID}}
|
||||
username: {{ADMIN_USERNAME}}
|
||||
password: {{ADMIN_PASSWORD}}
|
||||
grant_type: client_credentials
|
||||
client_id: {{KEYCLOAK_BRUNO_CLIENT_ID}}
|
||||
client_secret: {{KEYCLOAK_BRUNO_CLIENT_SECRET}}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
@@ -34,6 +33,7 @@ script:post-response {
|
||||
// (z.B. für eine bestimmte Umgebung wie "Development")
|
||||
bru.setEnvVar("BEARER_TOKEN", jsonResponse.access_token);
|
||||
|
||||
console.log("Updated access token.");
|
||||
// Option 2: In eine Collection-Variable schreiben
|
||||
// (Diese Variable ist global für alle Anfragen in deiner Collection)
|
||||
// bru.setVar("bearerToken", "Bearer " + jsonResponse.access_token);
|
||||
Reference in New Issue
Block a user