Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation uses "marked for removal" examples #672

Open
1 of 2 tasks
mvinca-bandwidth opened this issue Apr 12, 2024 · 0 comments
Open
1 of 2 tasks

Documentation uses "marked for removal" examples #672

mvinca-bandwidth opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels

Comments

@mvinca-bandwidth
Copy link

ℹ️ 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
  • 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

SDK Version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants