Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephEShook committed Sep 18, 2023
1 parent ca1d2c6 commit 9420918
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ public TieredOAuthAuthenticationOptions()
// TokenEndpoint = TieredOAuthAuthenticationDefaults.TokenEndpoint;
SignInScheme = TieredOAuthAuthenticationDefaults.AuthenticationScheme;

// TODO: configurable.
// TODO: configurable.
Scope.Add(OidcConstants.StandardScopes.OpenId);
Scope.Add(UdapConstants.StandardScopes.FhirUser);
// Scope.Add(UdapConstants.StandardScopes.FhirUser);
Scope.Add(OidcConstants.StandardScopes.Email);
Scope.Add(OidcConstants.StandardScopes.Profile);
Scope.Add("peopleMover");

SecurityTokenValidator = _defaultHandler;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private void BuildUdapIdentityProvider(X509Certificate2 sureFhirLabsAnchor, X509
_mockIdPPipeline.IdentityScopes.Add(new UdapIdentityResources.Profile());
_mockIdPPipeline.IdentityScopes.Add(new UdapIdentityResources.Udap());
_mockIdPPipeline.IdentityScopes.Add(new IdentityResources.Email());
// _mockIdPPipeline.IdentityScopes.Add(new UdapIdentityResources.FhirUser());
_mockIdPPipeline.IdentityScopes.Add(new UdapIdentityResources.FhirUser());

_mockIdPPipeline.Users.Add(new TestUser
{
Expand Down

0 comments on commit 9420918

Please sign in to comment.