-
Notifications
You must be signed in to change notification settings - Fork 22
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
[E2E 24.08] App provider autosetup | App not activated in marketplace #856
Comments
@ciprianherciu If you requested a technical user for Identity Wallet Management, the technical user creation takes a couple of minutes, and the app subscription is shown as pending for that time. |
Issue is still under validation it's already clear that it's restricted to app provider autosetup usage initiated via the POST |
The app subscriptions are currently in pending state, current state of process_steps table for the process: It appears that their is some issue in the context of the app provider call back to activate the subscription @sachinargade123 also stated the following: "About callback request from app provider side was done and also we received the technical credentials and app id. we configured the same information for mentioned instances.", not certain how that fits into the picture. Call for clarification happening in couple of hours. |
Issues identified:
|
@sachinargade123 @ciprianherciu the activation is ready for retest |
#861 was tested successfully
we were able to trace it back to the following error during activation:
So, the processes worker attempted to find the external clientId (from the DIM) in centralidp Keycloak, that can not work and @ntruchsess is providing a fix to only consider internal clientids. |
PR #864 is ready. It changes the relevant query to return only serviceAccounts that are CompanyServiceAccountKindId.INTERNAL |
After the fix from #864 the activation was now executed successfully. |
A fix for the TRIGGER_PROVIDER_CALLBACK-related error is implemented in PR #865 |
The change for completing the process with callback is now merged as well #865, thanks @ntruchsess Could you please also complete the appsettings.json for missing default values like the clientPrefix available in the apps service? And please also raise a pull request to portal-assets to update the documentation where needed: Could you please also check if the autosetup for services is aligned with the recent bugfixes? |
* fix(apps): remove leading '/' from the activate subscription endpoint (#861) Refs: #856 * bug(offersubscription): suppress activation of external serviceaccounts in keycloak on subscription-activation (#864) Refs: #856 * fix(dim): fix callback logic for dim requests (#863) Refs: #862 chore(dependencies): bump efcore to 8.0.7 (#857) * increase efcore version to latest 8.0.7 to resolve security-issue in transitive dependency in System.Text.Json * fix(offersubscription): skip optional autosetupprovidercallback if it is not configured (#865) * add clientPrefix to workers appsettings (#870) * fix: enhance subscription/provider endpoint with external Service data (#867) Refs: #841 * fix(sdDoc): set process step to skipped if ClearinghouseConnectDisabled is true (#874) Refs: #792 * build(deps): bump MimeKit from 4.3.0 to 4.7.1 (#833) eclipse-tractusx/portal#369 * build(deps): bump MimeKit from 4.3.0 to 4.7.1 in /tests/endtoend Bumps MimeKit from 4.3.0 to 4.7.1. --- updated-dependencies: - dependency-name: MimeKit dependency-type: direct:production ... * chore: upgrade mimekit in sendmail project * chore: update dependencies file --------- * upgrade implicit dependencies on System.Text.Json (#875) * Serilog.Settings.Configuration to 8.0.2 * remove redundant dependencies on Microsoft.Extensions.Hosting * bump framework version to 2.4.2 after merge of main --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Norbert Truchsess <[email protected]> Co-authored-by: Phil Schneider <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Evelyn Gurschler <[email protected]> Reviewed-By: Evelyn Gurschler <[email protected]> Reviewed-By: Norbert Truchsess <[email protected]> Reviewed-By: Phil Schneider <[email protected]>
I got confirmation that the process worked also E2E with a new subscription from @sachinargade123 and @ciprianherciu |
Current Behavior
After a subscription and a successful run of the MSO we try to open the application from the Portal.
First problem is that the Application does not appear as active in the App Marketplace
While trying still to open the client disabled
<img width="975" alt="Screenshot 2024-07-22 at 12 46 06 PM" src="https://github.com/user-attachments/assets/1fa6829d-5936-46c1-a594-
c838b69a772b">
Application is not activated in the App Marketplace
Expected Behavior
Application should be activated in the App Marketplace
Steps To Reproduce
The text was updated successfully, but these errors were encountered: