flaky-kilobyte-10585
06/26/2023, 1:41 PMchilly-king-10285
06/26/2023, 1:41 PMchilly-king-10285
06/26/2023, 1:42 PMhydra list clients --endpoint <http://127.0.0.1:4445>
(Source: [Gitlab Hydra integration - Troubleshooting](https://www.ory.sh/docs/hydra/self-hosted/gitlab)) 2. Verify that you're using the correct OAuth 2.0 Client and that its configuration is not broken. You can check the client's configuration using the following command: ory get oauth2-client {client.id}
(Source: [Solutions for common OAuth2-related problems - Refresh Token flow fails](https://www.ory.sh/docs/hydra/debug)) 3. Ensure that the token_endpoint_auth_method
is set correctly for your OAuth 2.0 Client. It can be either client_secret_basic
(HTTP Basic Authorization) or client_secret_post
(HTTP Body). You can update the token_endpoint_auth_method
using the --token-endpoint-auth-method
flag in the CLI. (Source: [Client auth fails because Wrong token_endpoint_auth_method](https://www.ory.sh/docs/hydra/debug/token-endpoint-auth-method)) If you still encounter the error, you may want to review the [Ory Hydra API Reference](https://www.ory.sh/docs/hydra/reference/api) for more information on error responses and troubleshooting.flaky-kilobyte-10585
06/26/2023, 1:44 PMchilly-king-10285
06/26/2023, 1:44 PMchilly-king-10285
06/26/2023, 1:45 PM<http://kratos.bar.com|kratos.bar.com>
and <http://ui.bar.com|ui.bar.com>
will work - <http://kratos.bar.com|kratos.bar.com>
and <http://bar.com|bar.com>
will work - <http://kratos.bar.com|kratos.bar.com>
and <http://not-ar.com|not-ar.com>
will not work (Source: [Initialize login flow - severity](https://www.ory.sh/docs/kratos/self-service/flows/user-login)) 3. When building a server-side application, ensure that you include the Cookie
header from the client when fetching the self-service flows. For example: javascript export default (req: Request, res: Response) => { // ... .getLoginFlow({ id: flow, cookie: req.header("cookie") }) }
(Source: [Accessing APIs from a server-side application](https://www.ory.sh/docs/troubleshooting/csrf)) If you still encounter the error, you may want to review the [Ory Kratos documentation](https://www.ory.sh/docs/kratos) for more information on error responses and troubleshooting.