-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
crypto/bcrypt: hashedPassword is not the hash of the given password #346
Comments
Wrong password?
|
( and I'm 100% the user's password is typed ok ) |
Not the user's password, but the password of your oauth2 client. The auth_code requires a client secret when exchanging the auth code for a token. You can however set the public flag to true in your client, then the client won't need a secret for that flow! |
I believe the public flag is simply appending |
The solution from gitter is to add |
Any idea on how to add a |
Check the docs, section advanced iirc. Also, questions in chat or forum only please.
… On 6. Sep 2018, at 05:50, OvermindDL1 ***@***.***> wrote:
Any idea on how to add a "public":true to the client definition when the client is part of a remote website that is trying to auth to a local hydra server (do not that it works on other openid connect servers), or some override in hydra to imply "public":true?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've been over those but I didn't find I way, I ended up mutating it on the nginx front-loader to get working.
Ah very nice, where would those be located, what is the IRC room and on which IRC server? (I'm in console terminal 95% of my day so anything that works on the commandline is fine, I'm even using github right here and now from the commandline. :- ) ) |
It’s literally the first subsection in advanced: https://www.ory.sh/docs/guides/master/hydra/6-how-to/3-advanced#creating-a-public-oauth-20-client
Links to relevant forums and chatrooms as well as rules for opening issues are written in the issue template, the one you deleted when you opened this issue.
… On 6. Sep 2018, at 17:53, OvermindDL1 ***@***.***> wrote:
Check the docs, section advanced iirc.
I've been over those but I didn't find I way, I ended up mutating it on the nginx front-loader to get working.
Also, questions in chat or forum only please.
Ah very nice, where would those be located, what is the IRC room and on which IRC server? (I'm in console terminal 95% of my day so anything that works on the commandline is fine, I'm even using github right here and now from the commandline. :- ) )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hmm, I didn't make the connection, I don't know OAuth2 well, I'm setting this up for someone else to allow their other services to access their Discourse forum as the login source so I'm learning on the way. I do apologize for the noise!
Ah, I didn't open the issue so I never saw it, issue templates don't appear in the comment on an issue. :-) EDIT: Checked the issue template, but the chat appears to redirect to a Discord thing, what is the IRC room for a bridge, or is there a commandline client for Discord that I'm unable to find on a cursory Google search? Brow.sh makes a decent command-line browser for most sites but Discord is a bit too much for it... >.> |
Ohhh I see, totally my bad then. I’m also not using GH (only mail) at the moment and didn’t see that it was an existing issue. Glad you got it resolved!
… On 6. Sep 2018, at 18:39, OvermindDL1 ***@***.***> wrote:
It’s literally the first subsection in advanced:
Hmm, I didn't make the connection, I don't know OAuth2 well, I'm setting this up for someone else to allow their other services to access their Discourse forum as the login source so I'm learning on the way. I do apologize for the noise!
Links to relevant forums and chatrooms as well as rules for opening issues are written in the issue template, the one you deleted when you opened this issue.
Ah, I didn't open the issue so I never saw it, issue templates don't appear in the comment on an issue. :-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
In case anyone stumbles on this issue, as per the documentation, you would have to add the field |
Hi!
I have a problem with using
response_type=code
in javascript library (https://www.npmjs.com/package/openid-client).Hydra v0.7.2
Request:
Response:
Logs from the library:
Client:
Hydra's logs:
The text was updated successfully, but these errors were encountered: