Skip to content

Commit

Permalink
Merge pull request #409 from bcgov/RHBC-26-spike
Browse files Browse the repository at this point in the history
chore: Modify the getAuthenticationSession method
  • Loading branch information
thegentlemanphysicist authored Nov 19, 2024
2 parents 9cfa260 + 17753c4 commit e7b6a3e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,18 @@ private void redirect(AuthenticationFlowContext context, IdentityProviderModel i
.getOrGenerateCode();
String clientId = context.getAuthenticationSession().getClient().getClientId();
String tabId = context.getAuthenticationSession().getTabId();
String clientData = "Test String"
String loginHint = "Test String two"
URI location =
Urls.identityProviderAuthnRequest(
context.getUriInfo().getBaseUri(),
idp.getAlias(),
context.getRealm().getName(),
accessCode,
clientId,
tabId);
tabId,
clientData,
loginHint);
if (context.getAuthenticationSession().getClientNote(OAuth2Constants.DISPLAY) != null) {
location =
UriBuilder.fromUri(location)
Expand Down

0 comments on commit e7b6a3e

Please sign in to comment.