Skip to content

FI-3746 Migrate to AuthInfo#40

Merged
Shaumik-Ashraf merged 28 commits intomainfrom
fi-3746-authinfo
Mar 28, 2025
Merged

FI-3746 Migrate to AuthInfo#40
Shaumik-Ashraf merged 28 commits intomainfrom
fi-3746-authinfo

Conversation

@Shaumik-Ashraf
Copy link
Copy Markdown
Contributor

@Shaumik-Ashraf Shaumik-Ashraf commented Mar 25, 2025

Summary

  • Upgrade smart_app_launch_test_kit dependency to 0.6.0
  • Upgrade inferno_core dependency to 0.6.7
  • Replace OAuthCredentials with AuthInfo

Testing Guidance

Run this test kit and comfirm identical behavior to main branch.

@Shaumik-Ashraf Shaumik-Ashraf marked this pull request as ready for review March 26, 2025 04:47
@Shaumik-Ashraf Shaumik-Ashraf changed the title Draft: FI-3746 Migrate to AuthInfo FI-3746 Migrate to AuthInfo Mar 26, 2025
default: nil,
locked: true,
optional: true
standalone_smart_auth_info: {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should be smart_auth_info, none of this configuration is actually being applied.

Comment thread config/presets/ipa_preset.json Outdated
}
]
"name": "smart_auth_info",
"title": "Backend Services Credentials",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This doesn't seem right.

config(
inputs: {
smart_auth_info: {
name: :standalone_smart_auth_info
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This also needs to be locked to public, and set to auth mode.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This hasn't been done.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this should now be fixed with the latest commit (833cd7b)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't set auth mode at group level because this forces test 1.1 (SMART discovery) to get a client id and other auth mode inputs, which the current test kit does not require.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It needs to be set to auth mode. They're going to need those inputs anyway to perform the launch, so I don't think it's a problem to have them in the discovery group too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed

group from: :<%= smart_launch_group_id %>,
config: {
inputs: {
standalone_smart_auth_info: { name: :smart_auth_info }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is not needed.

@Shaumik-Ashraf Shaumik-Ashraf merged commit ba25dd4 into main Mar 28, 2025
1 check passed
@Shaumik-Ashraf Shaumik-Ashraf deleted the fi-3746-authinfo branch March 28, 2025 16:16
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.

2 participants