You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful to be able to call ProviderConfig() on Provider to return a reusable config, or make the fields not private
I'm working on a project that requires caching the OpenID discovery request.
From Provider I'm trying to extract the fields needed to create a ProviderConfig which I can then cache and recall using ProviderConfig.NewProvider
Is there a reason to keep fields on Provider private? Some are available through UserInfoEndpoint and Endpoint. These aren't sensitive URLs since they're publicly available through discovery.
Please let me know if there's another method for retrieving these fields that I might be missing. Thanks!
The text was updated successfully, but these errors were encountered:
It would be helpful to be able to call
ProviderConfig()
on Provider to return a reusable config, or make the fields not privateI'm working on a project that requires caching the OpenID discovery request.
From
Provider
I'm trying to extract the fields needed to create aProviderConfig
which I can then cache and recall usingProviderConfig.NewProvider
Is there a reason to keep fields on
Provider
private? Some are available throughUserInfoEndpoint
andEndpoint
. These aren't sensitive URLs since they're publicly available through discovery.Please let me know if there's another method for retrieving these fields that I might be missing. Thanks!
The text was updated successfully, but these errors were encountered: