Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update identity.xml.j2 with latest AI configs #6338

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ public class LoginFlowAIManagerImpl implements LoginFlowAIManager {

private static final String LOGINFLOW_AI_ENDPOINT = IdentityUtil.getProperty(
"AIServices.LoginFlowAI.LoginFlowAIEndpoint");
private static final String LOGINFLOW_AI_GENERATE_PATH = "/api/server/v1/applications/loginflow/generate";
private static final String LOGINFLOW_AI_STATUS_PATH = "/api/server/v1/applications/loginflow/status";
private static final String LOGINFLOW_AI_RESULT_PATH = "/api/server/v1/applications/loginflow/result";
private static final String LOGINFLOW_AI_GENERATE_PATH = IdentityUtil.getProperty(
"AIServices.LoginFlowAI.LoginFlowAIGenerateRequestPath");
private static final String LOGINFLOW_AI_STATUS_PATH = IdentityUtil.getProperty(
"AIServices.LoginFlowAI.LoginFlowAIStatusRequestPath");
private static final String LOGINFLOW_AI_RESULT_PATH = IdentityUtil.getProperty(
"AIServices.LoginFlowAI.LoginFlowAIResultRequestPath");

private static final Log LOG = LogFactory.getLog(LoginFlowAIManagerImpl.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,5 +265,15 @@
"SYSTEM"
],
"authentication.jit_provisioning.associating_to_existing_user": false,
"authentication.jit_provisioning.enable_configured_idp_sub_for_federated_user_association": false
"authentication.jit_provisioning.enable_configured_idp_sub_for_federated_user_association": false,

"ai_services.token_endpoint": "https://api.asgardeo.io/t/wso2devtools/oauth2/token",
"ai_services.branding_ai.endpoint": "https://e95488c8-8511-4882-967f-ec3ae2a0f86f-prod.e1-us-east-azure.choreoapis.dev/iam-ai-us/branding-ai/v1.0",
"ai_services.branding_ai.generate_request_path": "/api/server/v1/branding-preference/generate",
"ai_services.branding_ai.status_request_path": "/api/server/v1/branding-preference/status",
"ai_services.branding_ai.result_request_path": "/api/server/v1/branding-preference/result",
"ai_services.login_flow_ai.endpoint": "https://e95488c8-8511-4882-967f-ec3ae2a0f86f-prod.e1-us-east-azure.choreoapis.dev/iam-ai-us/loginflow-ai/v1.0",
"ai_services.login_flow_ai.generate_request_path": "/api/server/v1/applications/loginflow/generate",
"ai_services.login_flow_ai.status_request_path": "/api/server/v1/applications/loginflow/status",
"ai_services.login_flow_ai.result_request_path": "/api/server/v1/applications/loginflow/result"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4493,9 +4493,20 @@
<TokenConnectionSocketTimeout>{{ai_services.token_connection_socket_timeout}}</TokenConnectionSocketTimeout>
<HTTPConnectionPoolSize>{{ai_services.http_connection_pool_size}}</HTTPConnectionPoolSize>
<HTTPConnectionTimeout>{{ai_services.http_connection_timeout}}</HTTPConnectionTimeout>
<HTTPConnectionRequestTimeout>{{ai_services.http_connection_request_timeout}}</HTTPConnectionRequestTimeout>
<HTTPSocketTimeout>{{ai_services.http_socket_timeout}}</HTTPSocketTimeout>
<LoginFlowAI>
<LoginFlowAIEndpoint>{{ai_services.login_flow_ai.endpoint}}</LoginFlowAIEndpoint>
<LoginFlowAIGenerateRequestPath>{{ai_services.login_flow_ai.generate_request_path}}</LoginFlowAIGenerateRequestPath>
<LoginFlowAIStatusRequestPath>{{ai_services.login_flow_ai.status_request_path}}</LoginFlowAIStatusRequestPath>
<LoginFlowAIResultRequestPath>{{ai_services.login_flow_ai.result_request_path}}</LoginFlowAIResultRequestPath>
</LoginFlowAI>
<BrandingAI>
<BrandingAIEndpoint>{{ai_services.branding_ai.endpoint}}</BrandingAIEndpoint>
<BrandingAIGenerateRequestPath>{{ai_services.branding_ai.generate_request_path}}</BrandingAIGenerateRequestPath>
<BrandingAIStatusRequestPath>{{ai_services.branding_ai.status_request_path}}</BrandingAIStatusRequestPath>
<BrandingAIResultRequestPath>{{ai_services.branding_ai.result_request_path}}</BrandingAIResultRequestPath>
</BrandingAI>
</AIServices>

</Server>
Loading