Excuse me, can hydra have a document describing the configuration and use of pkce？
I think that’s a good idea! A good place would probably be around here: https://www.ory.sh/docs/hydra/advanced#creating-a-public-oauth-20-client
Basically what you have to do is to create a public client like so:
hydra clients create --endpoint http://ory-hydra-admin-api --token-endpoint-auth-method none
And then you should already be good to go!
Thanks for your answers
Hi, I’ve been looking around for PKCE documents and hydra and am new to open id and oauth 2.0… Im trying it out based on what we have… Any other documents would help.
im trying to get code_challenge, etc in too.
Let me know if this should be a new topic. I thought putting it together with this documentation make sense…
I did the following:
- A quickstart hydra server built.
docker-compose -f quickstart.yml -f quickstart-postgres.yml up --build
- As per above…
docker-compose -f quickstart.yml exec hydra
hydra clients create
OAuth 2.0 Client ID: auth-code-client
This OAuth 2.0 Client has no secret
I seem to go to the login with a login challenge… logging into it ask for authorization before returning a code
Is the above right?