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

AAE-19762 Fix login redirect #9311

Merged
merged 1 commit into from
Feb 8, 2024
Merged

Conversation

DiogoABastos
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

What is the current behaviour? (You can also link to an open issue here)
Currently there is no way for a user to be redirect to a specific page after login (happening only in HxP)

What is the new behaviour?
Users are now redirected to a specific page after login
NonceStateSeparator was using default value ";" which is not supported by the AWS API Gateway

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

Copy link

sonarqubecloud bot commented Feb 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@@ -58,6 +58,7 @@ export class AuthConfigService {
...oauth2,
oidc: oauth2.implicitFlow || oauth2.codeFlow || false,
issuer: oauth2.host,
nonceStateSeparator: '~',
Copy link
Contributor

Choose a reason for hiding this comment

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

Please test this change running hxp and apa apps linking this branch

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Tested in both HxP and APA

@DiogoABastos DiogoABastos merged commit a893faf into develop Feb 8, 2024
35 checks passed
@DiogoABastos DiogoABastos deleted the bug/AAE-19762-fix-login-redirect branch February 8, 2024 10:38
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.

3 participants