EricGao888 commented on PR #8706:
URL: 
https://github.com/apache/dolphinscheduler/pull/8706#issuecomment-1318263620

   @Abingcbc May I ask whether it is possible to integrate the sso with casdoor 
in a `SpringBoot` way? 
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#web.security.oauth2
   For the login page implemented specifically for OAuth2 / SSO, is it possible 
to configure it like 
   
   ```java
   
   @Bean
   public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
       http.authorizeRequests()
         .antMatchers("/oauth_login")
         .permitAll()
         .anyRequest()
         .authenticated()
         .and()
         .oauth2Login()
         .loginPage("<customized-login-page-for-oauth2>");
       return http.build();
   }
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to