Closed Xiaoyang-Gu closed 3 years ago
@hsluoyz @BetaCat0 @nodece Sorry for a such big pr. Please review!
I found the demo site will always notice me to login even I have done. I'm not sure if it was a bug or not. Could you help confirm?
@438561537 please fix the conflicting files.
@nodece The conflicts has been removed.
Why is there no documentation on how to set up the Github OAuth application? I have no idea what the callback URL is supposed to be.
@438561537
@jcfergus If you want to set up the Github OAuth application to run casbin-dashboard locally, you can view this guideline to set up the Github OAuth application and understand the authentication process.
Thanks for the response. I understand how to set up OAuth - my point was that there's no documentation of this setup for casbin-dashboard to make sure that when I'm setting up my OAuth application that I use the correct callback URL and application homepage in configuring my OAuth application. I finally found it after digging through the source (http://[hostname:port]/callback, and http://[hostname:port]/dashboard/home, respectively), but it took me rather longer to dig through to find that than it would have to either just be able to set a local password or read a quick document that told me that.
I've decided against casbin for my particular use case, but I'll try to open a documentation pull request to at least add the above.
@jcfergus Thanks for your mentioned, it‘s necessary to put more detials to explain how to configure the github OAUTH APP in the readme file.
@438561537 please update the README about OAuth setup instructions for Casbin Dashboard, see a reference here: https://github.com/casbin/casbin-forum#installation
@hsluoyz OK, see: https://github.com/casbin/casbin-dashboard/pull/138
Fixes : [#128 ]
Description :
Screenshot of changes :
Please ensure Checkmark the following :