Open PuneetPunamiya opened 3 years ago
@bentranter Could you please take a look at this once ??
this may help you
@apoorvcodes thanks for this but this is still for a go web application right. My use case was separate ui application and a separate server which uses goth
@PuneetPunamiya maybe you can try Casdoor: https://github.com/casbin/casdoor
Here's a forum program demo: https://forum.casbin.com/ , click the "Sign In" button and you will get something like:
Currently goth does all the authentication on a single port. I have a use case where the user will click on a button on UI which is React Application saying
Sign In With Github
and other buttons with other provider name running on a different port. UI will send request to goth server and goth server should retun user details once authenticatedIn short React Application running on port 3000
Once clicked on button request should be send to goth server running on a port say 4200, does all authentication process and once authenticated goth server returns user details back to React Application