Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the example shows localhost redirected you too many times? #15

Open
hsluoyz opened this issue May 18, 2017 · 0 comments
Open

Why the example shows localhost redirected you too many times? #15

hsluoyz opened this issue May 18, 2017 · 0 comments

Comments

@hsluoyz
Copy link

hsluoyz commented May 18, 2017

Hi,

I downloaded the code and tried to run the example. I manually created two empty databases "default" and "social_test" in my localhost MySQL DB to avoid errors. Then the server runs. However, when I open http://localhost:8092 in my Chrome, it shows me the error in the picture. I don't know if there's anything else I need to do to run the example? FYI, I'm using a Win10 x64 system. Go is 1.8.1. IDE is Gogland, and the server runs from the IDE.

"C:\Program Files (x86)\JetBrains\Gogland 171.3780.106\bin\runnerw.exe" C:/Go\bin\go.exe run C:/GoPath/src/github.com/beego/social-auth/example/main.go
2017/05/18 20:07:55 [I] [asm_amd64.s:2197] http server Running on http://:8092
2017/05/18 20:08:06 [I] [main.go:241] GET / 
[beego] 2017/05/18 - 20:08:06 |      127.0.0.1| 302 |     8.0206ms|   match| GET      /     r:/
2017/05/18 20:08:06 [E] [main.go:58] SocialAuth.handleRedirect unknown provider 
[beego] 2017/05/18 - 20:08:06 |      127.0.0.1| 302 |     1.5052ms| nomatch| GET      /login
2017/05/18 20:08:06 [E] [main.go:58] SocialAuth.handleRedirect unknown provider 

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant