Internet-scale OpenID Certified™ OpenID Connect and OAuth2.1 provider that integrates with your user management through headless APIs. Solve OIDC/OAuth2 user cases over night. Consume as a service on Ory Network or self-host. Trusted by OpenAI and many others for scale and security. Written in Go.
919 matches across 9 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | cmd/cmd_delete_client.go | 22 | To delete OAuth 2.0 Clients with the owner of "foo@bar.com", run: |
| LOW | cmd/cmd_delete_client.go | 24 | {{ .CommandPath }} $({{ .Root.Name }} list oauth2-clients --format json | jq -r 'map(select(.contacts[] == "foo@bar.com |
| LOW | cypress/integration/oauth2/introspect.js | 40 | expect(body.body.sub).to.be.equal("foo@bar.com") |
| LOW | cypress/integration/oauth2/introspect.js | 67 | expect(body.body.sub).to.be.equal("foo@bar.com") |
| LOW | cypress/integration/oauth2/authorize_error.js | 148 | cy.get("#email").type("foo@bar.com", { delay: 1 }) |
| LOW | cypress/integration/oauth2/jwt.js | 53 | expect(body.sub).to.eq("foo@bar.com") |
| LOW | cypress/integration/openid/userinfo.js | 33 | expect(sub).to.eq("foo@bar.com") |
| LOW | cypress/integration/openid/authorize_code.js | 39 | expect(sub).to.eq("foo@bar.com") |
| LOW | cypress/support/commands.js | 47 | username = "foo@bar.com", |
| LOW | cypress/support/commands.js | 122 | username = "foo@bar.com", |
| LOW | cypress/support/commands.js | 236 | username = "foo@bar.com", |
| LOW | test/conformance/config.json | 20 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 52 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 85 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 118 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 151 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 184 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 220 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 329 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 360 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 402 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 434 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 468 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 526 | ["text", "id", "email", "foo@bar.com"], |
| LOW | test/conformance/config.json | 559 | ["text", "id", "email", "foo@bar.com"], |
| LOW | oauth2/oauth2_auth_code_test.go | 138 | IdToken: map[string]interface{}{"bar": "baz", "email": "foo@bar.com"}, |
| LOW | oauth2/oauth2_auth_code_test.go | 448 | IdToken: map[string]interface{}{"email": "foo@bar.com", "bar": "baz"}, |
| LOW | oauth2/.snapshots/TestUnmarshalSession-v1.11.9.json | 6 | "sub": "foo@bar.com", |
| LOW | oauth2/.snapshots/TestUnmarshalSession-v1.11.9.json | 35 | "subject": "foo@bar.com" |
| LOW | oauth2/.snapshots/TestUnmarshalSession-v1.11.8.json | 6 | "sub": "foo@bar.com", |
| LOW | oauth2/.snapshots/TestUnmarshalSession-v1.11.8.json | 35 | "subject": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-Req-login_hint.txt | 130 | "login_hint": "foo@bar.com", |
| LOW | internal/certification/CI.F.T.T.s/OP-Req-login_hint.txt | 157 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-UserInfo-Body.txt | 154 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-UserInfo-Body.txt | 187 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-UserInfo-Body.txt | 199 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-UserInfo-Body.txt | 202 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-Req-acr_values.txt | 156 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-Req-acr_values.txt | 190 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Req-max_age=10000.txt | 154 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Req-max_age=10000.txt | 187 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Req-max_age=10000.txt | 222 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Req-max_age=10000.txt | 255 | "sub": "foo@bar.com" |
| LOW | …ternal/certification/CI.F.T.T.s/OP-UserInfo-Header.txt | 154 | "sub": "foo@bar.com" |
| LOW | …ternal/certification/CI.F.T.T.s/OP-UserInfo-Header.txt | 187 | "sub": "foo@bar.com" |
| LOW | …ternal/certification/CI.F.T.T.s/OP-UserInfo-Header.txt | 199 | "sub": "foo@bar.com" |
| LOW | …ternal/certification/CI.F.T.T.s/OP-UserInfo-Header.txt | 202 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-prompt-login.txt | 154 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-prompt-login.txt | 187 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-prompt-login.txt | 225 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-prompt-login.txt | 258 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-OAuth-2nd.txt | 155 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-OAuth-2nd.txt | 188 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-Req-ui_locales.txt | 156 | "sub": "foo@bar.com" |
| LOW | internal/certification/CI.F.T.T.s/OP-display-popup.txt | 156 | "sub": "foo@bar.com" |
| LOW | …/certification/CI.F.T.T.s/OP-Registration-logo_uri.txt | 157 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Registration-jwks.txt | 221 | "sub": "foo@bar.com" |
| LOW | …rnal/certification/CI.F.T.T.s/OP-Registration-jwks.txt | 256 | "sub": "foo@bar.com" |
| LOW | …rtification/CI.F.T.T.s/OP-ClientAuth-Basic-Dynamic.txt | 155 | "sub": "foo@bar.com" |
| LOW | …rtification/CI.F.T.T.s/OP-ClientAuth-Basic-Dynamic.txt | 188 | "sub": "foo@bar.com" |
| 398 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | quickstart-prometheus.yml | 1 | ########################################################################### |
| LOW | quickstart-tracing.yml | 1 | ########################################################################### |
| LOW | quickstart-tracing.yml | 21 | # - TRACING_PROVIDER=zipkin |
| LOW | quickstart-tracing.yml | 41 | ### Opentelemetry ### |
| LOW | quickstart-tracing.yml | 61 | # - DD_APM_NON_LOCAL_TRAFFIC=true |
| LOW | quickstart-debug.yml | 1 | ########################################################################### |
| LOW | quickstart-postgres.yml | 1 | ########################################################################### |
| LOW | quickstart.yml | 1 | ########################################################################### |
| LOW | quickstart-mysql.yml | 1 | ########################################################################### |
| LOW | quickstart-cors.yml | 1 | ########################################################################### |
| LOW | quickstart-cockroach.yml | 1 | ########################################################################### |
| LOW | quickstart-jwt.yml | 1 | ########################################################################### |
| LOW | quickstart-hsm.yml | 1 | ########################################################################### |
| LOW | cypress/plugins/index.js | 1 | // Copyright © 2022 Ory Corp |
| LOW | cypress/support/index.js | 1 | // Copyright © 2022 Ory Corp |
| LOW | cypress/support/commands.js | 1 | // Copyright © 2022 Ory Corp |
| LOW | test/e2e/docker-compose.jwt.yml | 1 | ########################################################################### |
| LOW | fosite/generate.go | 1 | // Copyright © 2025 Ory Corp |
| LOW | fosite/generate.go | 21 | //go:generate go tool mockgen -package internal -destination internal/client_manager.go github.com/ory/hydra/v2/fosite C |
| LOW | fosite/generate.go | 41 | //go:generate go tool mockgen -package internal -destination internal/refresh_token_strategy_provider.go github.com/ory/ |
| LOW | fosite/handler.go | 1 | // Copyright © 2025 Ory Corp |
| LOW | fosite/handler.go | 41 | CanHandleTokenEndpointRequest(ctx context.Context, requester AccessRequester) bool |
| LOW | fosite/handler.go | 61 | |
| LOW | fosite/config.go | 301 | // UseLegacyErrorFormatProvider returns the provider for configuring whether to use the legacy error format. |
| LOW | fosite/authorize_helper.go | 41 | // If multiple redirection URIs have been registered, if only part of |
| LOW | fosite/authorize_helper.go | 81 | return nil, errorsx.WithStack(ErrInvalidRequest.WithHint("The 'redirect_uri' parameter does not match any of the OAuth |
| LOW | fosite/access_request_handler.go | 21 | // - https://tools.ietf.org/html/rfc6749#section-2.3.1 |
| LOW | fosite/revoke_handler.go | 21 | // validates various parameters as specified in: |
| LOW | fosite/HISTORY.md | 361 | // ErrInvalidatedAuthorizeCode is an error indicating that an authorization code has been |
| LOW | fosite/oauth2.go | 41 | |
| LOW | fosite/oauth2.go | 61 | NewAuthorizeRequest(ctx context.Context, req *http.Request) (AuthorizeRequester, error) |
| LOW | fosite/oauth2.go | 81 | // * https://tools.ietf.org/html/rfc6749#section-3.1.2 |
| LOW | fosite/oauth2.go | 101 | // authorization server during the client registration process or when |
| LOW | fosite/oauth2.go | 121 | |
| LOW | fosite/oauth2.go | 141 | // MUST NOT be included more than once. |
| LOW | fosite/oauth2.go | 161 | |
| LOW | fosite/authorize_error_test.go | 21 | // - https://tools.ietf.org/html/rfc6749#section-4.1.2.1 |
| LOW | fosite/introspection_response_writer.go | 21 | // (Unauthorized) as described in Section 5.2 of OAuth 2.0 [RFC6749]. |
| LOW | fosite/introspection_response_writer.go | 61 | // * active |
| LOW | fosite/introspection_response_writer.go | 81 | // |
| LOW | fosite/introspection_response_writer.go | 101 | // OPTIONAL. Integer timestamp, measured in the number of seconds |
| LOW | fosite/introspection_response_writer.go | 121 | // [RFC7519]. |
| LOW | fosite/introspection_response_writer.go | 141 | // |
| LOW | fosite/introspection_response_writer.go | 161 | // } |
| LOW | fosite/transactional.go | 1 | // Copyright © 2025 Ory Corp |
| LOW | fosite/introspection_request_handler.go | 21 | // |
| LOW | fosite/introspection_request_handler.go | 41 | // help the authorization server optimize the token lookup. If the |
| LOW | fosite/introspection_request_handler.go | 61 | // To prevent token scanning attacks, the endpoint MUST also require |
| LOW | fosite/introspection_request_handler.go | 81 | // |
| LOW | fosite/token/jwt/token.go | 161 | // Parse, validate, and return a token. |
| LOW | fosite/handler/oauth2/revocation_storage.go | 1 | // Copyright © 2025 Ory Corp |
| LOW | fosite/handler/oauth2/storage.go | 21 | // GetAuthorizeCodeSession hydrates the session for an authorization code and returns |
| LOW | fosite/handler/pkce/handler.go | 181 | } else if nc == 0 { |
| LOW | fosite/handler/openid/flow_hybrid.go | 41 | |
| LOW | fosite/handler/openid/flow_implicit.go | 41 | return errorsx.WithStack(fosite.ErrInvalidGrant.WithHint("The OAuth 2.0 Client is not allowed to use the authorization |
| LOW | fosite/handler/openid/validator.go | 41 | } |
| LOW | fosite/handler/openid/flow_implicit_test.go | 121 | Scopes: []string{"openid", "fosite"}, |
| LOW | fosite/handler/openid/flow_refresh_token_test.go | 121 | }, |
| LOW | fosite/compose/compose.go | 21 | // AccessTokenLifespan: time.Minute * 30, |
| LOW | fosite/docs/how-tos/client_credentials_grant.md | 61 | // for Token Endpont, for example: |
| 335 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | quickstart-prometheus.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-prometheus.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-tracing.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-tracing.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-debug.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-debug.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-postgres.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-postgres.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-mysql.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-mysql.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-cors.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-cors.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-cockroach.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-cockroach.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-jwt.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-jwt.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | quickstart-hsm.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | quickstart-hsm.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | test/e2e/docker-compose.jwt.yml | 2 | ####### FOR DEMONSTRATION PURPOSES ONLY ####### |
| MEDIUM | test/e2e/docker-compose.jwt.yml | 8 | # This set up is only for demonstration purposes. The login # |
| MEDIUM | …ernal/httpclient/model_accept_o_auth2_login_request.go | 32 | // ForceSubjectIdentifier forces the \"pairwise\" user ID of the end-user that authenticated. The \"pairwise\" user ID |
| MEDIUM | contrib/quickstart/gitlab/config/gitlab.rb | 460 | # optionally, you can add the following two lines to "white label" the display name |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | internal/httpclient/model_o_auth2_login_request.go | 31 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | internal/httpclient/model_device_user_auth_request.go | 32 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | internal/httpclient/model_verify_user_code_request.go | 27 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | internal/httpclient/model_o_auth2_consent_request.go | 42 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | flow/flow.go | 133 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | flow/consent_types.go | 470 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | flow/consent_types.go | 484 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | flow/consent_types.go | 505 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| HIGH | flow/consent_types.go | 582 | // RequestedAudience contains the access token audience as requested by the OAuth 2.0 Client. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/e2e/circle-ci.bash | 16 | # Check if any ports that we need are open already |
| LOW | fosite/.github/auto_assign.yml | 15 | # Set 0 to add all the reviewers (default: 0) |
| LOW | internal/config/config.yaml | 386 | # Set this to true if you want to share error debugging information with your OAuth 2.0 clients. |
| LOW | internal/config/config.yaml | 398 | # Set this to true if you want PKCE to be enforced for all clients. |
| LOW | internal/config/config.yaml | 400 | # Set this to true if you want PKCE to be enforced for public clients. |
| LOW | internal/config/config.yaml | 448 | # Set this to the tracing backend you wish to use. Currently supports jaeger. If omitted or empty, tracing will |
| LOW | contrib/quickstart/gitlab/config/gitlab.rb | 580 | #### Set path to an initial license to be used while bootstrapping GitLab. |
| LOW | .github/auto_assign.yml | 15 | # Set 0 to add all the reviewers (default: 0) |
| LOW | .github/workflows/cve-scan.yaml | 36 | # Output values for debugging |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 135 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 144 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 159 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 177 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 182 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 191 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 224 | # Set enabled to true if the authenticator should be enabled and false to disable the authenticator. Defaults to fal |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 231 | # Set enabled to true if the authorizer should be enabled and false to disable the authorizer. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 236 | # Set enabled to true if the authorizer should be enabled and false to disable the authorizer. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 241 | # Set enabled to true if the authorizer should be enabled and false to disable the authorizer. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 252 | # Set enabled to true if the authorizer should be enabled and false to disable the authorizer. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 261 | # Set enabled to true if the authorizer should be enabled and false to disable the authorizer. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 278 | # Set enabled to true if the mutator should be enabled and false to disable the mutator. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 286 | # Set enabled to true if the mutator should be enabled and false to disable the mutator. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 295 | # Set enabled to true if the mutator should be enabled and false to disable the mutator. Defaults to false. |
| LOW | oryx/configx/stub/benchmark/benchmark.yaml | 311 | # Set enabled to true if the mutator should be enabled and false to disable the mutator. Defaults to false. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | quickstart-tracing.yml | 59 | # - DD_API_KEY=<YOUR_API_KEY> # Replace it with your DataDog API key |
| HIGH | quickstart-tracing.yml | 59 | # - DD_API_KEY=<YOUR_API_KEY> # Replace it with your DataDog API key |
| HIGH | UPGRADE.md | 831 | 2. Run `$ export DATABASE_URL=<your-database-url>`. |
| HIGH | UPGRADE.md | 917 | $ export DATABASE_URL=<your-database-url> |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | fosite/access_request_handler.go | 33 | // to directly utilize the HTTP Basic authentication scheme (or other |
| MEDIUM | oryx/landlockx/paths.go | 15 | // robust than enumerating every sibling: SQLite manages -journal in |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | client/handler.go | 459 | // an empty secret if the secret hasn't changed. As such we need to check if the patch has |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | oauth2/handler.go | 194 | function setAndRegisterTimeout(fct, duration) { |