okta-spring-boot
okta-spring-boot copied to clipboard
Documentation uses "marked for removal" examples
: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
- [ ] bug report
- [x] feature request
Background info
The README has examples, best captured by this one:
@Bean
public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
http
.authorizeExchange()
.anyExchange().authenticated()
.and()
.oauth2Login()
.and()
.oauth2ResourceServer()
.jwt();
return http.build();
}
Expected behavior
This works now, but soon won't. It should be replaced by the Okta recommended way (whatever that is) to use the new replacement functions.
What went wrong?
It gives deprecation warnings all over the place.
Steps to reproduce
Compile the example