Skip to content

Instantly share code, notes, and snippets.

@chriskuech
Created April 1, 2020 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskuech/91e16d7b5fbd2ff06883eeece4b4a67d to your computer and use it in GitHub Desktop.
Save chriskuech/91e16d7b5fbd2ff06883eeece4b4a67d to your computer and use it in GitHub Desktop.
var endpoint = $"{Constants.Issuer}/{Constants.ConfigurationRoute}";
var retriever = new OpenIdConnectConfigurationRetriever();
var configManager = new ConfigurationManager<OpenIdConnectConfiguration>(endpoint, retriever);
var config = await configManager.GetConfigurationAsync();
var tokenEndpoint = config.TokenEndpoint;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment