ory/hydra ? reverse-engineered prompt
Reverse engineered prompt
I need to build a backend service to handle all the complex authentication and authorization for my application. It should be a certified OpenID Connect and OAuth 2.0 provider, capable of handling things like social sign-in, single sign-on (SSO), and securing my APIs.
The most important requirement is that this system must be 'headless.' It shouldn't come with its own user database or UI. Instead, it needs to expose simple APIs that I can connect to my own user management system and my custom-built login and consent pages. I need to have complete control over the user experience.
Please write this in Go. It needs to be highly performant, secure enough for enterprise use, and ready to be deployed as a container. Think of it as a standalone, scalable authorization server that just handles the security protocols and lets me build the user-facing parts myself.
Are you gonna build this?
make sure you review the code using coderabbit