DanielAuerX commented on PR #294:
URL: https://github.com/apache/answer-plugins/pull/294#issuecomment-5653552868

   > Hi @LinkinStars, currently i see two issues:
   > 
   >     1. login page: since one is not redirected to separately hosted login 
page (e.g. the case with the google connector), i am uising the ResponseWriter 
(wrapped in the GinContext) to provide the user with the login page. I used css 
specific to my use case, so currently its a plain html login page. Either we 
could add some default css, let the user upload his/her own css or maybe you 
have a completely different solution?
   > 
   >     2. since i did not want to send user credentials with a get request, i 
added an additional endpoint  in my implementation added to the answer core. 
Namely a post endpoint  to the PluginAPIRouter calling 
ConnectorController.ConnectorRedirectDispatcher
   
   Problem described in 1) is addressed in 
[8c931fdd8a031c88b9b5207d6f7914e308cdb354](https://github.com/apache/answer-plugins/pull/294/changes/8c931fdd8a031c88b9b5207d6f7914e308cdb354)
   
   This is how the login page would look with branding/favicon and a green 
primary color:
   <img width="1330" height="955" alt="login_page_with_branding" 
src="https://github.com/user-attachments/assets/e6155f88-b4a7-4612-a20d-9bc70f4e3a46";
 />
   
   
   


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