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

openid-login.go failed????? #53

Open
hoogw opened this issue Dec 21, 2018 · 0 comments
Open

openid-login.go failed????? #53

hoogw opened this issue Dec 21, 2018 · 0 comments

Comments

@hoogw
Copy link

hoogw commented Dec 21, 2018

Openid half way working, be able to login into yahoo.com,
but failed when opencallback.......

google openid, does not working.
--auth-openid https://www.google.com/accounts/o8/id

            // google not working
          ./gohttpserver -r ../../../../../fileRestAPI --cors --theme green  --auth-type openid --auth-openid https://www.google.com/accounts/o8/id

yahoo works
--auth-openid https://me.yahoo.com

               // yahoo
              ./gohttpserver -r ../../../../../fileRestAPI --conf ../../../../../fileRestAPI/config.yml --cors --theme green  --auth-type openid --auth-openid https://me.yahoo.com

But, when I successfully login to yahoo.com, when opencallback to gohttpserver, failed.....

                   http://localhost:8000/-/openidcallback?next=https://localhost:8000/&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=id_res&openid.return_to=http%3A%2F%2Flocalhost%3A8000%2F-%2Fopenidcallback%3Fnext%3Dhttps%3A%2F%2Flocalhost%3A8000%2F&openid.claimed_id=https%3A%2F%2Fme.yahoo.com%2Fhoogw%23d0256&openid.identity=https%3A%2F%2Fme.yahoo.com%2Fhoogw&openid.assoc_handle=iLcVVWGjabUDODayEuijpKo3jpFxkVv9JI3xrIfcq3PxxWx0Sg3Ye4d7Hnd3BChYXWANhSEYTSfCaMMuaE.V5rDxZt3kSjJvzHtxzC6Qb3MXC3hkDE8fjvwn5jFWbXWIdj4z&openid.response_nonce=2018-12-21T22%3A44%3A55ZLJJRMAiKQCrRV8GGkWoFej0IGqDKnTzG2A--&openid.signed=assoc_handle%2Cclaimed_id%2Cidentity%2Cmode%2Cns%2Cop_endpoint%2Cresponse_nonce%2Creturn_to%2Csigned%2Cpape.auth_level.nist&openid.op_endpoint=https%3A%2F%2Fopen.login.yahooapis.com%2Fopenid%2Fop%2Fauth&openid.pape.auth_level.nist=0&openid.sig=e5FBX8bstv7U9hVukR4r%2BjpDtLs%3D

I test openid-go, sample login on separate port 8080, it successfully login to yahoo.com and back.

If your project use same code as openid-go, why their sample login page work, but this login page only work half way, when opencallback, it fails.......

Can you try this
--auth-openid https://me.yahoo.com

Did you successfully login and back without error?

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