:information_source: If you have a question, please post it on the Okta Developer Forum instead. Issues in this repository are reserved for bug reports and feature requests only.
I'm submitting a
[x] bug report
[ ] feature request
Background info
OktaOAuth2PropertiesMappingEnvironmentPostProcessor does not respect okta proxy settings
:information_source: If you have a question, please post it on the Okta Developer Forum instead. Issues in this repository are reserved for bug reports and feature requests only.
I'm submitting a
Background info
OktaOAuth2PropertiesMappingEnvironmentPostProcessor does not respect okta proxy settings
Take a look at https://github.com/okta/okta-spring-boot/blob/master/oauth2/src/main/java/com/okta/spring/boot/oauth/env/OktaOAuth2PropertiesMappingEnvironmentPostProcessor.java. It instantiates RestTemplate without any regard to okta proxy settings and immediately tries to fetch well known configuration.
Expected behavior
OktaOAuth2PropertiesMappingEnvironmentPostProcessor uses okta proxy settings to fetch .well-known configuration
What should have happened?
What went wrong?
OktaOAuth2PropertiesMappingEnvironmentPostProcessor uses RestTemplate with no respect to okta proxy settings.
Please provide log or error messages if applicable. No need to
Steps to reproduce
If the current behavior is a bug, please provide the steps to reproduce and a minimal demo if possible.
SDK Version
Latest stable