You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/11/08 02:54:46 UTC

[GitHub] [dolphinscheduler] devosend commented on pull request #12549: [Feature][Authenticator] Add OAuth2 authenticator

devosend commented on PR #12549:
URL: https://github.com/apache/dolphinscheduler/pull/12549#issuecomment-1306551902

   > @songjianet @devosend @Amy0104 Currently we have some logic in front-end `handleLogin` like calling `getUserInfo()`. Once we support `OAuth2` login, user will no more get redirected to Username / Password login page, this `handlLogin` will not get triggered and that causes some issues, such as users cannot create projects. May I ask whether there are solutions to this?
   > 
   > ![image](https://user-images.githubusercontent.com/34905992/199916898-f26594f6-798d-469c-a2bb-b7a58b0425b0.png)
   > 
   > https://github.com/apache/dolphinscheduler/blob/7d0e2cbbb9fcd2e1543f5166f0518eda03afae89/dolphinscheduler-ui/src/views/login/use-login.ts#L35-L44
   
   
   
   > @songjianet @devosend @Amy0104 Currently we have some logic in front-end `handleLogin` like calling `getUserInfo()`. Once we support `OAuth2` login, user will no more get redirected to Username / Password login page, this `handlLogin` will not get triggered and that causes some issues, such as users cannot create projects. May I ask whether there are solutions to this?
   > 
   > ![image](https://user-images.githubusercontent.com/34905992/199916898-f26594f6-798d-469c-a2bb-b7a58b0425b0.png)
   > 
   > https://github.com/apache/dolphinscheduler/blob/7d0e2cbbb9fcd2e1543f5166f0518eda03afae89/dolphinscheduler-ui/src/views/login/use-login.ts#L35-L44
   
   You can add a new blank page on the front end to call `getUserInfo`.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org