Skip to content

Commit

Permalink
woops
Browse files Browse the repository at this point in the history
  • Loading branch information
oskogstad committed Sep 25, 2024
1 parent 3bb0bd7 commit e215ecf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ public DialogTokenMiddleware(RequestDelegate next, IOptions<ApplicationSettings>
var keyPair = applicationSettings.Value.Dialogporten.Ed25519KeyPairs.Primary;
_publicKey = PublicKey.Import(SignatureAlgorithm.Ed25519,
Base64Url.Decode(keyPair.PublicComponent), KeyBlobFormat.RawPublicKey);
// _issuer = applicationSettings.Value.Dialogporten.BaseUri.AbsoluteUri.TrimEnd('/') + DialogTokenIssuerVersion;
_issuer = "https://altinn-dev-api.azure-api.net/dialogporten" + DialogTokenIssuerVersion;
_issuer = applicationSettings.Value.Dialogporten.BaseUri.AbsoluteUri.TrimEnd('/') + DialogTokenIssuerVersion;
}

public Task InvokeAsync(HttpContext context)
Expand Down

0 comments on commit e215ecf

Please sign in to comment.