{
  "openapi": "3.0.1",
  "info": {
    "title": "Authentication Service",
    "version": "1.34.0"
  },
  "paths": {
    "/api/auth/authorize": {
      "get": {
        "tags": [
          "Authorization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "example": {"grant_type":"password","client_id":"string","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"string","refresh_token":"string","client_secret":"string","code":"string","redirect_uri":"string","state":"string"}
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "example": {"grant_type":"password","client_id":"string","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"string","refresh_token":"string","client_secret":"string","code":"string","redirect_uri":"string","state":"string"}
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "example": {"grant_type":"password","client_id":"string","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"string","refresh_token":"string","client_secret":"string","code":"string","redirect_uri":"string","state":"string"}
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying. FusionAuth is unhealthy; the request failed fast instead of waiting on it.",
                "schema": {
                  "type": "integer",
                  "description": "Seconds to wait before retrying. FusionAuth is unhealthy; the request failed fast instead of waiting on it.",
                  "format": ""
                }
              }
            },
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              }
            }
          }
        }
      }
    },
    "/api/auth/token": {
      "post": {
        "tags": [
          "Authorization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "examples": {
                "ApiV1": {
                  "value": {"grant_type":"password","client_id":null,"username":"user-name123","password":"password1234","idp":"ApiV1","scope":null,"refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "ApiV2": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"offline_access","refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "RefreshToken": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":null,"password":null,"idp":"ApiV2","scope":"offline_access","refresh_token":"ab3fi6Y9sMSf3yWp3aaO890AMav2MFdiMIi2GObrAi-i3248oo0txm","client_secret":null,"code":null,"redirect_uri":null,"state":null}
                }
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "examples": {
                "ApiV1": {
                  "value": {"grant_type":"password","client_id":null,"username":"user-name123","password":"password1234","idp":"ApiV1","scope":null,"refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "ApiV2": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"offline_access","refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "RefreshToken": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":null,"password":null,"idp":"ApiV2","scope":"offline_access","refresh_token":"ab3fi6Y9sMSf3yWp3aaO890AMav2MFdiMIi2GObrAi-i3248oo0txm","client_secret":null,"code":null,"redirect_uri":null,"state":null}
                }
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TokenRequest"
              },
              "examples": {
                "ApiV1": {
                  "value": {"grant_type":"password","client_id":null,"username":"user-name123","password":"password1234","idp":"ApiV1","scope":null,"refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "ApiV2": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":"user-name123","password":"password1234","idp":"ApiV2","scope":"offline_access","refresh_token":null,"client_secret":null,"code":null,"redirect_uri":null,"state":null}
                },
                "RefreshToken": {
                  "value": {"grant_type":"password","client_id":"b8e26e55-0d2f-4151-945b-0a8de93cc93r","username":null,"password":null,"idp":"ApiV2","scope":"offline_access","refresh_token":"ab3fi6Y9sMSf3yWp3aaO890AMav2MFdiMIi2GObrAi-i3248oo0txm","client_secret":null,"code":null,"redirect_uri":null,"state":null}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenResponse"
                },
                "example": {"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","token_type":"Bearer","expires_in":3600,"refresh_token":"ze9fi6Y9sMSf3yWp3aaO2w7AMav2MFdiMIi2GObrAi-i3248oo0jTQ","scope":"openid","id_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0ODUxNDA5ODQsImlhdCI6MTQ4NTEzNzM4NCwiaXNzIjoiYWNtZS5jb20iLCJzdWIiOiIyOWFjMGMxOC0wYjRhLTQyY2YtODJmYy0wM2Q1NzAzMThhMWQiLCJhcHBsaWNhdGlvbklkIjoiNzkxMDM3MzQtOTdhYi00ZDFhLWFmMzctZTAwNmQwNWQyOTUyIiwicm9sZXMiOltdfQ.Mp0Pcwsz5VECK11Kf2ZZNF_SMKu5CgBeLN9ZOP04kZo","user_id":"api_user_001"}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"unauthorized_client","errorDetails":[{"errorMessage":"Invalid refresh token","errorCode":"access_denied_forbidden"}]}}
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying. FusionAuth is unhealthy; the request failed fast instead of waiting on it.",
                "schema": {
                  "type": "integer",
                  "description": "Seconds to wait before retrying. FusionAuth is unhealthy; the request failed fast instead of waiting on it.",
                  "format": ""
                }
              }
            },
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EccErrorResponse"
                },
                "example": {"status":"Failure","error":{"errorMessage":"serverError","errorDetails":[{"errorMessage":"Service temporarily unavailable","errorCode":"unhandled_exception_tripStack_internal_error"}]}}
              }
            }
          }
        }
      }
    },
    "/api/auth/.well-known/openid-configuration": {
      "get": {
        "tags": [
          "Discovery"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    },
    "/api/auth/discovery": {
      "get": {
        "tags": [
          "Discovery"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DiscoveryResponse"
                },
                "example": {"issuer":"auth.tripstack.com","authorization_endpoint":"https://auth.tripstack.com/api/auth/authorize","token_endpoint":"https://auth.tripstack.com/api/auth/token","userinfo_endpoint":"https://auth.tripstack.com/api/auth/userInfo","jwks_uri":"https://auth.tripstack.com/api/auth/jwks","response_types_supported":["token"],"grant_types_supported":["client_credentials","password","refresh_token"],"id_token_signing_alg_values_supported":["RS256"],"claims_supported":["sub","iss","roles","name","iat","applicationId"],"subject_types_supported":null,"token_endpoint_auth_methods_supported":null}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    },
    "/api/auth/jwks": {
      "get": {
        "tags": [
          "Jwks"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    },
    "/api/auth/.well-known/jwks.json": {
      "get": {
        "tags": [
          "Jwks"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    },
    "/api/auth/.well-known/openid-configuration/jwks": {
      "get": {
        "tags": [
          "Jwks"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwksResponse"
                },
                "example": {"keys":[{"kty":"RSA","kid":"864fe546-212e-4fcf-b1af-6377065e7130","use":"sig","alg":"RS256","n":"idWPro_QiAFOdMsJD163lcDIPogOwXogRo3Pct2MMyeE2GAGqV20Sc8QUbuLDfPl-7Hi9IfFOz--JY6QL5l92eV-GJXkTmidUEooZxIZSp3ghRxLCqlyHeF5LuuM5LPRFDeF4YWFQT_D2eNo_w95g6qYSeOwOwGIfaHa2RMPcQAiM6LX4ot-Z7Po9z0_3ztFa02m3xejEFr2rLRqhFl3FZJaNnwTUk6an6XYsunxMk3Ya3lRaKJReeXeFtfTpShgtPiAl7lIfLJH9h26h2OAlww531DpxHSm1gKXn6bjB0NTC55vJKft4wXoc_0xKZhnWmjQE8d9xE8e1Z3Ll1LYbw","e":"AQAB"}]}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    },
    "/api/auth/userinfo": {
      "get": {
        "tags": [
          "UserInfo"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfoResponse"
                },
                "example": {"sub":"api_user_001","is_active":true,"user_type":"client","tenant":"tenant_01","application_id":"c0fcd37f-329f-415f-a3ba-f47501a350a7","roles":["dev","ops","report_viewer"]}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfoResponse"
                },
                "example": {"sub":"api_user_001","is_active":true,"user_type":"client","tenant":"tenant_01","application_id":"c0fcd37f-329f-415f-a3ba-f47501a350a7","roles":["dev","ops","report_viewer"]}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserInfoResponse"
                },
                "example": {"sub":"api_user_001","is_active":true,"user_type":"client","tenant":"tenant_01","application_id":"c0fcd37f-329f-415f-a3ba-f47501a350a7","roles":["dev","ops","report_viewer"]}
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              },
              "text/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "example": {"sample_property":["sample_property is required, allowed values are: client_credentials, password, refresh_token."],"sample_property_2":["sample_property_2 is required."]}
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "DiscoveryResponse": {
        "type": "object",
        "properties": {
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "authorization_endpoint": {
            "type": "string",
            "nullable": true
          },
          "token_endpoint": {
            "type": "string",
            "nullable": true
          },
          "userinfo_endpoint": {
            "type": "string",
            "nullable": true
          },
          "jwks_uri": {
            "type": "string",
            "nullable": true
          },
          "response_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "grant_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "id_token_signing_alg_values_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "claims_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "subject_types_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "token_endpoint_auth_methods_supported": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EccErrorResponse": {
        "required": [
          "error"
        ],
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "$ref": "#/components/schemas/ErrorResponse"
          }
        },
        "additionalProperties": false
      },
      "ErrorDetail": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "errorCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "errorDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorDetail"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Jwk": {
        "type": "object",
        "properties": {
          "kty": {
            "type": "string",
            "nullable": true
          },
          "kid": {
            "type": "string",
            "nullable": true
          },
          "use": {
            "type": "string",
            "nullable": true
          },
          "alg": {
            "type": "string",
            "nullable": true
          },
          "n": {
            "type": "string",
            "nullable": true
          },
          "e": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JwksResponse": {
        "type": "object",
        "properties": {
          "keys": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Jwk"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenRequest": {
        "type": "object",
        "properties": {
          "grant_type": {
            "type": "string",
            "nullable": true
          },
          "client_id": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "idp": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "refresh_token": {
            "type": "string",
            "nullable": true
          },
          "client_secret": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "writeOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "redirect_uri": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TokenResponse": {
        "type": "object",
        "properties": {
          "access_token": {
            "type": "string",
            "nullable": true
          },
          "token_type": {
            "type": "string",
            "nullable": true
          },
          "expires_in": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "refresh_token": {
            "type": "string",
            "nullable": true
          },
          "scope": {
            "type": "string",
            "nullable": true
          },
          "id_token": {
            "type": "string",
            "nullable": true
          },
          "user_id": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserInfoResponse": {
        "type": "object",
        "properties": {
          "sub": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean"
          },
          "user_type": {
            "type": "string",
            "nullable": true
          },
          "tenant": {
            "type": "string",
            "nullable": true
          },
          "application_id": {
            "type": "string",
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Basic": {
        "type": "apiKey",
        "description": "Basic Authentication using the Authorization header",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Basic": [ ]
    }
  ]
}