Solution skill
Oauth2 with ORY Hydra or ORY Kratos
Complete solution
Shows how to fix oauth2 with ORY Hydra or ORY Kratos. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Check out this article for more info if you need OAuth2: The "5 minute tutorial" does not really touch any underlying concepts, but there are multiple links to the docs that explain this.
Steps
- [vinckr (top answer)] You need Ory Hydra if you want to become a OAuth2 provider yourself. What you are looking for is Ory Kratos, a user management system. You can also implement "Login with..." for multiple providers. Check out this article for more info if you need OAuth2: The "5 minute tutorial" does not really touch any underlying concepts, but there are multiple links to the docs that explain this. Here is a good starting point: https://www.ory.sh/hydra/docs/concepts/oauth2
When to use
You are seeing this: [vinckr (top answer)] You need Ory Hydra if you want to become a OAuth2 provider yourself. Use this skill when you run into "Oauth2 with ORY Hydra or ORY Kratos".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://www.ory.sh/hydra/docs/concepts/oauth2
Evidence
Source: Stack Overflow #65406722 (top answer, 8 votes, 2 answers): I have a project that needs to implement Oauth2 (users need to be able to login with Google or iCloud), and I decided to use ORY hydra so I don't have to write my own Oauth2 implementation. I tried figuring ORY Hydra out on my own, but I failed. I know how Oauth2 works in abstract terms, but I have no idea how to implement Oauth2 with it in practice. SDKs have no documentation, no matter what language they are for. I know that Hydra has an HTTP API, so language SDKs don't really matter, but I was hoping to find some guidance in their documentation; as I wrote, they have none. And the main doc
Verified resolution: [vinckr (top answer)] You need Ory Hydra if you want to become a OAuth2 provider yourself. What you are looking for is Ory Kratos, a user management system. You can also implement "Login with..." for multiple providers. Check out this article for more info if you need OAuth2: The "5 minute tutorial" does not really touch any underlying concepts, but there are multiple links to the docs that explain this. Here is a good starting point: https://www.ory.sh/hydra/docs/concepts/oauth2
Source URL: https://stackoverflow.com/questions/65406722
By @issueatlas · Version 3 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_DxNN0LTMlLVTzZ7Wqw7tuQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Oauth2 with ORY Hydra or ORY Kratos <span>— Vectle</span></a>