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

Add support to connect to the LoginFlow AI service #6260

Merged
merged 31 commits into from
Jan 17, 2025

Conversation

sahandilshan
Copy link
Contributor

Proposed changes in this pull request

With this PR, the product-is will be able to connect the loginflow AI microservice and generate AI results accordingly

Related Issue(s)

# Conflicts:
#	components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml
#	pom.xml
- Define constants for reusable keys
- Remove token decoding and get the clientId from the AI KEY
# Conflicts:
#	components/ai-services-mgt/org.wso2.carbon.ai.service.mgt/src/main/java/org/wso2/carbon/ai/service/mgt/constants/AIConstants.java
#	components/ai-services-mgt/org.wso2.carbon.ai.service.mgt/src/main/java/org/wso2/carbon/ai/service/mgt/token/AIAccessTokenManager.java
#	components/ai-services-mgt/org.wso2.carbon.ai.service.mgt/src/main/java/org/wso2/carbon/ai/service/mgt/util/AIHttpClientUtil.java
#	components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml
#	pom.xml
@sahandilshan sahandilshan force-pushed the loginflow-ai-2 branch 3 times, most recently from 92b41bd to 73a9b36 Compare January 8, 2025 08:39
*/
public interface LoginFlowAIManager {

String generateAuthenticationSequence(String userQuery, JSONArray userClaims, JSONObject availableAuthenticators)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add method comments

@sahandilshan sahandilshan force-pushed the loginflow-ai-2 branch 4 times, most recently from c31c746 to e61ae0d Compare January 16, 2025 12:57
janakamarasena
janakamarasena previously approved these changes Jan 16, 2025
@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12810307037

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12810307037
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12812386496

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12812386496
Status: failure

lashinijay
lashinijay previously approved these changes Jan 17, 2025
@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12822290873

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12822290873
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12825194673

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12825194673
Status: failure

@sahandilshan sahandilshan merged commit 4103ae2 into wso2:master Jan 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants