This weekend some of our sandboxes was upgraded to summer 19. before that we were able to query consumer secret from the Auth. Provider used in the named credentials. After the summer release we are not able to do this anymore. Can any of you replicate this
SELECT Id, DeveloperName, Endpoint, AuthProviderId, AuthProvider.AuthorizeUrl, AuthProvider.ConsumerKey, AuthProvider.ConsumerSecret FROM NamedCredential
In production this gives the consumer secret it also works in sandboxes that are on on summer 19.
Can any of you confirm this?