-
I'm trying out ORY Hydra with a Single Page Application written in Angular and a login page rendered by Spring Boot. I've made it almost all the way but I seem to be stumbling towards the end, calling These things work: The Single Page application communicates with the ORY Hydra server and redirects to the login page rendered by Spring. The login and consent flows both work and at the end I get redirected back to the SPA. However, at this point, the js library
If I start the auth flow again, Hydra / Spring go through the flow without further input from me, recognizing that I'm already authenticated and redirect me back to the SPA. At this point I get a The request payload for this call has the following format:
The response clearly seems to indicate the error. However, this is confusing because this is the exact same client that works in every other part of the flow.
This is the config for
Ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Turns out this works if I set |
Beta Was this translation helpful? Give feedback.
Turns out this works if I set
token_endpoint_auth_method
tonone
for the client. I suppose that's ok since it's a single page app -- any client secret wouldn't be secret anyway. That said, I'm surprised the first few calls went through.