klesh opened a new pull request, #5409:
URL: https://github.com/apache/incubator-devlake/pull/5409

   ### Summary
   ConfigUI part for #5389 
   Assuming `oauth2_proxy` is configured correct for `config-ui` according to 
newly added EnvVar in the `docker-compose-dev.yml`
   
   1. added API `/userinfo` to backend offer `user` `email` and `logoutURI` 
from Headers and EnvVars
   2. config-ui would render the `AccountPanel` if `/userinfo` returned valid 
`logoutURI`
   3. the `logoutURI` must be carefully crafted to logout all providers(e.g. 
oauth2_proxy and aws_cognito) on one go for security reason, check 
https://github.com/apache/incubator-devlake/blob/dcf469ab9cb876139a62032d50bcf7312bfb4d24/docker-compose-dev.yml#L82
 for detail
   
   ### Does this close any open issues?
   Part of #5389 
   
   ### Screenshots
   
![1](https://github.com/apache/incubator-devlake/assets/61080/f5d6e567-7aa7-4ba1-8cf6-cd1459919c35)
   
![2](https://github.com/apache/incubator-devlake/assets/61080/889e3835-c51e-44f8-9809-be5ae43af7bf)
   
![3](https://github.com/apache/incubator-devlake/assets/61080/ede46b40-0e3a-4d03-84c1-21382ac137b5)
   
   
   
   


-- 
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