Commit Graph

140 Commits

Author SHA1 Message Date
sawadashota 7f84351853 cmd: Fix logging Span ID (#1695)
Signed-off-by: Shota Sawada <xiootas@gmail.com>
2020-01-20 19:04:15 +01:00
sawadashota 3cee9b1709 server: Make logging traceable (#1685)
Signed-off-by: Shota Sawada <xiootas@gmail.com>
2020-01-11 13:32:56 +01:00
Igor Zibarev 097275013a cmd: Add option to disable access log for health endpoints (#1458)
This commit adds an option to disable access log for health endpoints.
This is especially helpful in environments like Kubernetes, where
special preprocessing filters would be required otherwise.

Closes #1278
2019-06-07 10:01:23 +02:00
aeneasr 2c09d208e3 cmd: Advertise all path in sqa
Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-27 10:45:49 +02:00
hackerman a4a75d4368
Improve e2e test performance (#1392)
Closes #1389

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-26 18:39:37 +02:00
hackerman 067e498379
consent: Move to query parameters (#1375)
Previously, user and client were sent as path parameters on consent and
login lifecycle endpoints. This patch uses query parameters instead.
This allows developers to use users with slashes and dots without
causing issues with the URI path.

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-20 12:22:21 +02:00
hackerman e745aeeb08
oauth2: Resolve memory leak in gorilla/sessions (#1374)
Closes #1363

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-20 09:54:48 +02:00
hackerman cb2ad555ce
oauth2: Allow whitelisting insecure redirect URLs (#1354)
This patch enables developers to whitelist insecure redirect URLs while using flag `--dangerous-force-http`.

Closes #1021

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-11 20:39:57 +02:00
hackerman 6a16b1ee05
driver: Initialize everything on start up (#1350)
Resolves issues with lazy loading. Closes #1349

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-11 12:16:23 +02:00
Sawada Shota f964c69f07 docs: Fix environment variable DATABASE_URL to DSN (#1343)
Signed-off-by: Shota Sawada <xiootas@gmail.com>
2019-04-04 10:35:45 +02:00
hackerman 95a51deb31
Improve configuration and service management (#1314)
This patch significantly refactors internal configuration and service management with the goal of making configuration changes possible without service restarts. This patch prepares the possibility to configure ORY Hydra from a remote source (etcd, consul) and watch for changes. This patch also introduces the possibility to configure ORY Hydra from a configuration file on top of environment variables.

The following issues have been fixed as well:

- Key rotation of the system secret is now much simpler (closes #1316)
- Database connectivity parameters such as max_conns no longer cause issues with older postgres versions (closes #1327)
- Non-existing routes now return a JSON error instead of `text/plain` when `application/json` was requested (clsoes #1244)
- We now push tags latest, X, X.Y, X.Y.Z to docker hub (closes #1289)
- The quickstart guide no longer builds the source code but instead pulls latest tag (closes #1309)
- We moved to goreleaser and godownloader for release management (closes #1107)
- The quickstart Docker Compose files are now reusable (closes #1196)

The following issues are also resolved:

- Closes #1121 

Signed-off-by: aeneasr <aeneas@ory.sh>
2019-04-02 11:52:21 +02:00
jayme-github af125b3444 cmd: Disable RejectInsecureRequest middleware on unix sockets (#1259)
We should not reject insecure requests coming in via unix socket as
there is no TLS support anyways.

Signed-off-by: Janis Meybohm <meybohm@traum-ferienwohnungen.de>
2019-01-17 13:11:30 +01:00
Julian Tescher d7be0c7328 cmd: Fix disable-telemetry check (#1258)
Signed-off-by: Julian Tescher <jatescher@gmail.com>
2019-01-16 09:26:32 +01:00
jayme-github aa6ab26908 cmd: Support binding frontend/backend to unix sockets (#1230)
This allows the use of strings like "unix:/path/to/socket" as PUBLIC_HOST and/or PRIVATE_HOST.

Signed-off-by: Janis Meybohm <meybohm@traum-ferienwohnungen.de>
2018-12-13 11:17:26 +01:00
hackerman e4bc6c269c
docs: Fix broken links (#1216)
Signed-off-by: aeneasr <aeneas@ory.sh>
2018-12-08 13:39:28 +01:00
hackerman 4a8cf84f15
cmd: Add ability to specify consent and login lifespan (#1155)
Closes #1057
2018-11-03 21:15:59 +01:00
hackerman ef27911997
cmd: Improve issuer error message (#1152)
Closes #1133

Signed-off-by: aeneasr <aeneas@ory.sh>
2018-11-03 12:55:29 +01:00
jayme-github 554a78d82f health: Register healthx.AliveCheckPath route for frontend (#1128)
This is needed for external health checks (from loadbalancing
infrastructure for example) and black box monitoring.

Signed-off-by: Janis Meybohm <meybohm@traum-ferienwohnungen.de>
2018-10-26 21:30:45 +02:00
JiaLiPassion 3466664522 jwks: Enable cors for wellknown endpoints (#1118)
Signed-off-by: JiaLiPassion <JiaLi.Passion@gmail.com>
2018-10-24 15:21:10 +02:00
hackerman 65b7406abe
Move dependencies to ory/x (#1095)
Signed-off-by: aeneasr <aeneas@ory.sh>
2018-10-23 06:59:31 -07:00
hackerman 2b491c9e27
Switch to go modules and add vendor (#1077)
Closes #1074

Signed-off-by: arekkas <aeneas@ory.am>
2018-10-09 22:45:56 +02:00
Amir Aslaminejad acea751a67 tracing: use instrumented bcrypt hasher if tracing has been enabled
Signed-off-by: Amir Aslaminejad <aslaminejad@gmail.com>
2018-09-26 20:02:55 +02:00
Amir Aslaminejad 1cd4d17498 core: Add support for distributed tracing (#1019)
Signed-off-by: Amir Aslaminejad <aslaminejad@gmail.com>
2018-09-14 10:28:38 +03:00
Prateek Malhotra 60e3dab1b5 cmd/server: Export Handler bootstrap functions (#1023)
Signed-off-by: Prateek Malhotra <someone1@gmail.com>
2018-09-08 11:19:20 +03:00
hackerman a36d0af611
oauth2: Enable client specific CORS settings (#1009)
Field `allowed_cors_origins` was added to OAuth 2.0 Clients. It enables
CORS for the whitelisted URLS for paths which clients interact with,
such as /oauth2/token.

Closes #975

Signed-off-by: arekkas <aeneas@ory.am>
2018-08-26 14:28:05 +02:00
hackerman 0ea6ba0633
cmd: Use viper for cors detection (#998)
Signed-off-by: aeneasr <aeneas.rekkas@serlo.org>
2018-08-22 12:01:11 +02:00
hackerman 251bd5c5b1
cmd: Disable CORS by default (#997)
This patch introduces environment variable `CORS_ENABLED` which toggles CORS.

Closes #996

Signed-off-by: arekkas <aeneas@ory.am>
2018-08-21 12:13:04 +02:00
hackerman f819f6d392
cmd: Add version to banner (#995)
Close #987

Signed-off-by: arekkas <aeneas@ory.am>
2018-08-21 11:57:00 +02:00
hackerman 93dcbcf3b9
consent: Add logout api endpoint (#984)
Closes #970

Signed-off-by: Michael DeRazon <mderazon@gmail.com>
Signed-off-by: arekkas <aeneas@ory.am>
2018-08-10 11:27:26 +02:00
arekkas 479acd7ea7 consent: Introduce pairwise support
This patch introduces the OpenID Connect pairwise Subject Identifier Algorithm.

Closes #950

Signed-off-by: arekkas <aeneas@ory.am>
2018-08-10 10:23:19 +02:00
arekkas e30d48b297 jwk: Expose ./well-known/jwks.json on public port
Signed-off-by: arekkas <aeneas@ory.am>
2018-08-06 16:20:36 +02:00
arekkas cfee3eb3d0 cmd: Introduce public and administrative ports
This patch introduces two ports, public and administrative. The public
port is responsible for handling API requests to public endpoints such
as /oauth2/auth, while the administrative port handles requests to
JWK, OAuth 2.0 Client, and Login & Consent endpoints.

Closes #904

Signed-off-by: arekkas <aeneas@ory.am>
2018-08-06 11:29:38 +02:00
Prateek Malhotra 4ea7496073 cmd: Refactor backend connectivity and bootstrap process (#956)
This patch introduces a new backend interface and improves the plugin loading system.

Closes #949

Signed-off-by: Prateek Malhotra <someone1@gmail.com>
2018-08-02 19:35:21 +02:00
Aeneas f029101447
cmd: Check dependencies are defined before instantiation (#929)
Closes #928

Signed-off-by: arekkas <aeneas@ory.am>
2018-07-16 10:41:10 +02:00
arekkas 1d02cae554 jwk: Implements proper refreshing strategy 2018-06-24 17:24:12 +02:00
arekkas e38891a985 all: Enforces proper error layout 2018-06-24 17:24:12 +02:00
arekkas 543e6bc872 all: Uses RFC6749 errors everywhere 2018-06-24 17:24:12 +02:00
arekkas d511cf818f all: Removes nesting from error responses 2018-06-24 17:24:12 +02:00
arekkas eb22c244be all: Moves to metrics-middleware 2018-06-07 13:18:02 +02:00
arekkas 126f0e093c all: Runs gofmt 2018-05-29 11:28:19 +02:00
arekkas e49441234e cmd: Properly parses CORS env vars
Closes #886
2018-05-29 11:28:19 +02:00
arekkas 1940c3c8ff oauth2: Properly uses issuer in JWT 2018-05-19 22:39:01 +02:00
arekkas 5cbf12117d all: Replaces internal dockertest with sqlcon 2018-05-17 21:30:27 +02:00
arekkas 5900a1f34a Merge remote-tracking branch 'origin/master' into 1.0.x
# Conflicts:
#	Gopkg.lock
#	cmd/server/handler.go
#	config/config.go
#	health/handler.go
#	oauth2/consent_strategy.go
2018-05-09 11:35:25 +02:00
arekkas a88c49924a all: Runs gofmt 2018-05-08 20:29:20 +02:00
arekkas 50e550974b cmd/server: Adds SQL consent DBAL configuration 2018-05-08 14:17:20 +02:00
Dmitry Dolbik ef94f98982 health: Adds new prometheus metrics and metrics endpoint (#827)
Signed-off-by: Dmitry Dolbik <dolbik@gmail.com>
2018-05-08 10:16:29 +02:00
arekkas 0b5f4666d8 cmd: Deprecates connect command and introduces configurable credentials
This patch deprecates the `hydra connect` command as internal
access control has been removed from ORY Hydra and this command
no longer serves any purpose.

Instead, all commands are supplied with environment variables `HYDRA_URL`,
`OAUTH2_CLIENT_ID`, `OAUTH2_CLIENT_SECRET`, `OAUTH2_ACCESS_TOKEN`.

Please check out `hydra help <command>` for usage instructions. You
should also check out the upgrade guide for more detailed upgrade instructions.

This patch also renames some flags and command names which have been
documented in the upgrade guide.

Closes #841
Closes #840
2018-05-04 15:03:26 +02:00
arekkas a002e30577 oauth2: Improves the consent flow design
This patch makes significant changes to the consent flow. First,
the consent flow is being renamed to "User Login and Consent Flow"
and is split into two redirection flows, the "User Login Redirection Flow"
and the "User Consent Flow".

Conceptually, not a lot has changed but the APIs have been cleaned up
and the new flow is a huge step towards OpenID Connect Certification.

Besides easier implementation on the (previously known as) consent app,
this patch introduces a new set of features which lets ORY Hydra
detect previous logins and previously accepted consent requests. In turn,
the user does not need to login or consent on every OAuth2 Authorize Code
Flow.

This patch additionally lays the foundation for revoking tokens per
user or per user and client.

Awesome.

Closes #771
Closes #772
2018-05-04 14:07:36 +02:00
arekkas 3d0bf0bda5 Removes policy, warden and groups from this project
We have learned a lot over the last year in terms of how ORY Hydra is being used. Initially, we wanted to avoid the problems facing popular databases like MongoDB or others, which did not include authentication for their management APIs.

For this reason, the Warden API was born and primarily used internally and exposed via HTTP. We learned that access control policies are well received, but also add additional complexity to understanding the software. While we firmly believe that these policies implement best practices for access control in complex systems, we do understand that they add a barrier to getting started with ORY Hydra.

For this reason we are planning on moving the Warden API from this project to ORY Oathkeeper or potentially it's own server. We would add a migration path for existing policy definitions to the new service. The default docker image would combine the services in such a way, that ORY Hydra is protected. We would additionally have an (insecure) docker image without authentication which can be used for testing.

This also opens up the possibility of having more access control mechanisms than access control policies. For example, we can add ACL and RBAC and other mechanisms too.

First I think it makes good sense to move this functionality into a separate service and remove the warden calls internally completely. The reason being that not everyone wants to rely on Hydra's access control. Sometimes it's enough to use a gateway in front and require e.g. an API key for management or whatever. New adopters are always baffled by complexity involved with policies and scopes. Removing that from the core could really help. The user survey has also shown that this stuff is quite complex to grasp.

The idea is to have a separate service which is basically ladon as a HTTP API. I think it makes sense to add some functionality to resolve access tokens so it would basically be very similar to the current warden API - probably even equal. There would definitely be some backup mode where hydra's database tables and migrations are used as to make migration as easy as possible.

Then, we would ship docker images and example set ups where different configurations are shown. One of the configurations would be the current one, so basically what we have now in hydra but with the three services combined in one image.

Closes #807
2018-04-29 18:25:42 +02:00
arekkas 4f72a48067 Merge remote-tracking branch 'origin/0.11-merge-1.0.0' into 1.0.x-2
# Conflicts:
#	Gopkg.lock
#	Gopkg.toml
#	UPGRADE.md
#	cmd/server/handler_oauth2_factory.go
#	oauth2/consent_strategy.go
#	oauth2/consent_strategy_test.go
#	oauth2/fosite_store_memory.go
#	oauth2/fosite_store_test.go
#	oauth2/fosite_store_test_helpers.go
#	sdk/php/.swagger-codegen/VERSION
#	sdk/php/swagger/README.md
#	sdk/php/swagger/autoload.php
#	sdk/php/swagger/docs/Api/HealthApi.md
#	sdk/php/swagger/docs/Api/JsonWebKeyApi.md
#	sdk/php/swagger/docs/Api/OAuth2Api.md
#	sdk/php/swagger/lib/Api/HealthApi.php
#	sdk/php/swagger/lib/Api/JsonWebKeyApi.php
#	sdk/php/swagger/lib/Api/OAuth2Api.php
#	sdk/php/swagger/lib/Api/PolicyApi.php
#	sdk/php/swagger/lib/Api/WardenApi.php
#	sdk/php/swagger/lib/ApiClient.php
#	sdk/php/swagger/lib/ApiException.php
#	sdk/php/swagger/lib/Configuration.php
#	sdk/php/swagger/lib/Model/ConsentRequest.php
#	sdk/php/swagger/lib/Model/ConsentRequestAcceptance.php
#	sdk/php/swagger/lib/Model/ConsentRequestManager.php
#	sdk/php/swagger/lib/Model/ConsentRequestRejection.php
#	sdk/php/swagger/lib/Model/Context.php
#	sdk/php/swagger/lib/Model/Firewall.php
#	sdk/php/swagger/lib/Model/Group.php
#	sdk/php/swagger/lib/Model/GroupMembers.php
#	sdk/php/swagger/lib/Model/Handler.php
#	sdk/php/swagger/lib/Model/InlineResponse200.php
#	sdk/php/swagger/lib/Model/InlineResponse401.php
#	sdk/php/swagger/lib/Model/JoseWebKeySetRequest.php
#	sdk/php/swagger/lib/Model/JsonWebKey.php
#	sdk/php/swagger/lib/Model/JsonWebKeySet.php
#	sdk/php/swagger/lib/Model/JsonWebKeySetGeneratorRequest.php
#	sdk/php/swagger/lib/Model/KeyGenerator.php
#	sdk/php/swagger/lib/Model/Manager.php
#	sdk/php/swagger/lib/Model/OAuth2Client.php
#	sdk/php/swagger/lib/Model/OAuth2ConsentRequest.php
#	sdk/php/swagger/lib/Model/OAuth2TokenIntrospection.php
#	sdk/php/swagger/lib/Model/Policy.php
#	sdk/php/swagger/lib/Model/PolicyConditions.php
#	sdk/php/swagger/lib/Model/RawMessage.php
#	sdk/php/swagger/lib/Model/SwaggerAcceptConsentRequest.php
#	sdk/php/swagger/lib/Model/SwaggerCreatePolicyParameters.php
#	sdk/php/swagger/lib/Model/SwaggerDoesWardenAllowAccessRequestParameters.php
#	sdk/php/swagger/lib/Model/SwaggerDoesWardenAllowTokenAccessRequestParameters.php
#	sdk/php/swagger/lib/Model/SwaggerGetPolicyParameters.php
#	sdk/php/swagger/lib/Model/SwaggerJsonWebKeyQuery.php
#	sdk/php/swagger/lib/Model/SwaggerJwkCreateSet.php
#	sdk/php/swagger/lib/Model/SwaggerJwkSetQuery.php
#	sdk/php/swagger/lib/Model/SwaggerJwkUpdateSet.php
#	sdk/php/swagger/lib/Model/SwaggerJwkUpdateSetKey.php
#	sdk/php/swagger/lib/Model/SwaggerListPolicyParameters.php
#	sdk/php/swagger/lib/Model/SwaggerListPolicyResponse.php
#	sdk/php/swagger/lib/Model/SwaggerOAuthConsentRequestPayload.php
#	sdk/php/swagger/lib/Model/SwaggerOAuthIntrospectionRequest.php
#	sdk/php/swagger/lib/Model/SwaggerRejectConsentRequest.php
#	sdk/php/swagger/lib/Model/SwaggerRevokeOAuth2TokenParameters.php
#	sdk/php/swagger/lib/Model/SwaggerUpdatePolicyParameters.php
#	sdk/php/swagger/lib/Model/TokenAllowedRequest.php
#	sdk/php/swagger/lib/Model/WardenAccessRequest.php
#	sdk/php/swagger/lib/Model/WardenAccessRequestResponse.php
#	sdk/php/swagger/lib/Model/WardenTokenAccessRequest.php
#	sdk/php/swagger/lib/Model/WardenTokenAccessRequestResponse.php
#	sdk/php/swagger/lib/Model/WellKnown.php
#	sdk/php/swagger/lib/Model/Writer.php
#	sdk/php/swagger/lib/ObjectSerializer.php
2018-04-19 17:49:11 +02:00
Aeneas 888ee6e54f
Merge branch 'master' into add-version-dimension 2018-04-08 12:32:03 +02:00
Aeneas dd060731ca
metrics: Improves naming of traits (#803)
Closes #802
2018-03-10 17:11:45 +01:00
arekkas 85e26a055b metrics: Improves naming of traits
Closes #802
2018-03-10 16:50:48 +01:00
Aeneas 366ed57d9c
all: Updates license headers (#793) 2018-03-08 10:27:18 +01:00
Aeneas 049f581d5b
cmd: Adds newsletter sign up capabilities to CLI commands (#759) 2018-02-05 15:34:19 +01:00
arekkas 7fb51e5943 cmd: Persists config file right before starting the server
Tests would fail because the config file is polled in order to check
if the server is already started or not. Moving the persist command
right before starting the server resolves issues with racy tests.
2018-02-05 15:28:59 +01:00
arekkas acd010726b jwk: Forces JWK to have a unique ID
Previously, JSON Web Keys did not have to specify a unique id. JWKs
generated by ORY Hydra typically only used `public` or `private`
as KeyID. This patch changes that and appends a unique id if no
KeyID was given. To be able to separate between public and private key
pairs in resource name, the public/private convention was kept.

This change targets specifically the OpenID Connect ID Token and HTTP
TLS keys. The ID Token key was previously "hydra.openid.id-token:public"
and "hydra.openid.id-token:private" which now changed to something like
"hydra.openid.id-token:public:9a458aa3-65a0-4982-835f-343eec45183c" and
"hydra.openid.id-token:private:fa353995-d77d-420a-b967-63bf0721271b"
with the UUID part being random for every installation.

This change will help greatly with key rotation in the future.

Closes #589
2018-02-05 15:28:59 +01:00
Aeneas 4ef50f37fe
teleme: Improves telemetry module and upgrades to segment 3.0.0 (#752) 2018-01-23 17:32:51 +01:00
Aeneas aee603b42b
Makes policy resource names prefixes configurable (#672) 2017-12-04 12:15:09 +01:00
arekkas 1c696d2c9e cmd: Added cors support to host process
Closes #506
2017-11-26 19:07:00 +01:00
Aeneas dcbd6d8fcb
Add license header to all source files (#644)
Closes #643
2017-11-06 13:01:53 +01:00
aeneasr 6c5a7bb5fb cmd: adapt to new consent manager 2017-10-05 18:12:34 +02:00
arekkas b9bb1468f2 travis: improve scripts 2017-10-05 18:12:34 +02:00
arekkas 4ca77807e0 travis: add gofmt testing 2017-10-05 18:12:34 +02:00
Aeneas d91305baec cmd: resolve issuer test issue (#522) 2017-06-15 00:12:27 +02:00
Wyatt Anderson 688103c7ff oauth2: use issuer-prefixed auth URL in challenge redirect (#509)
In order to support running Hydra with a different path prefix behind
a proxy, issue a challenge token with an issuer-prefixed auth redirect
URL instead of the URL received with the auth request.

Signed-off-by: Wyatt Anderson <wanderson@gmail.com>
2017-06-14 16:54:37 +02:00
Aeneas b5cb0c690e cmd/server: print full error message on http startup (#514)
Towards #513
2017-06-13 16:08:31 +02:00
Aeneas a04e6f2f1b metrics: add metrics and telemetry package (#500) 2017-06-07 19:43:45 +02:00
Aeneas ddca997bc6 docs: add health check to swagger and resolve swagger issues (#488)
Closes #355
2017-06-05 11:01:56 +02:00
Aeneas 83118d1df7 vendor: update to latest versions (#482)
* vendor: update to latest versions

* vendor: update to latest versions

* vendor: update to latest versions

* vendor: update to latest versions
2017-06-04 15:37:29 +02:00
aeneasr baf60d29d9 cmd/server: resolve gorilla session mem leak - closes #461 2017-06-01 14:55:58 +02:00
Aeneas Rekkas (arekkas) 6f696b1204 vendor: upgrade glide 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 9be2ff3164 all: goimports 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) e912acc3a1 all: move to new org 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) cb97cd184e all: resolve remaining test issues 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 2869ed16e1 all: move to one logrus instance 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) b764c8e876 all: finalize ladon and logrus changes 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) ca898d655b all: remove context from herodot calls 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) e02b01730f all: move move ory-am/ladon to ory/ladon 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) 708c1a2d31 all: move move most writers in handlers to ory/herodot 2017-05-07 10:52:08 +02:00
Aeneas Rekkas (arekkas) ce46d45ebe warden: add group management - closes #68 2016-12-30 10:23:17 +01:00
Aeneas 8256356b9b 0.6.0 (#293)
* oauth2: scopes should be separated by %20 and not +, to ensure javascript compatibility - closes #277
* oauth2/introspect: make endpoint rfc7662 compatible - closes #289
* warden: make it clear that ladon.Request.Subject is not required or break bc and remove it - closes #270
* travis: execute gox build only when new commit is a new tag - closes #285
* docs: improve introduction (#267)
* core: (health) monitoring endpoint - closes #216
* oauth2/introspect: make endpoint rfc7662 compatible - closes #289
* connections: remove connections API - closes #265
* oauth2: token revocation endpoint - closes #233
* vendor: update to fosite 0.5.0
* core: add sql support #292
* connections: remove connections API - closes #265
* all: coverage report is missing covered lines of nested packages - closes #296
* cmd: prettify the `hydra token user` output - closes #281
* travis: make it possible for travis-ci to build forked repos - closes #295
2016-10-25 12:01:26 +02:00
Aeneas 05b5f841ef jwk: add use parameter to generated JWKs - closes #279 (#280) 2016-10-04 13:54:41 +02:00
Aeneas a92200278a 0.5.0 (#243)
* cmd: hydra token user should show id token in browser - closes #224
* cli: hydra clients import doesn't print client's secret - closes #221
* travis: ld flags are wrong - closes #242
* all: resolve naming inconsistencies in jwk set names used in hydra - closes #239
* sdk: resolve naming inconsistencies - closes #226
* docs: resolve gitbook issue with image assets
* jwk: anonymous request can't read public keys - closes #253
* client: add ability to update client - closes #250
* core: document hard-wired JWK sets - closes #247
* docs: fix images in readme - closes #261
2016-09-22 23:23:31 +02:00
Aeneas a297f7e57b 🔥 0.2.0 (#165)
* warden: rename `assertion` to `token` - closes #158
* config: do not log database credentials - closes #147
* oauth2: upgrade fosite - close #160
* config: do not store database config in hydra config - closes #164
* oauth2: id_token at_hash / c_hash is null - closes #129
* jwk: improve error message of wrong system secrect - closes #104
* readme: improve images, add benchmarks - closes #161
* cmd: improve connect dialogue - closes #170
* cmd: fix --dry option - closes #157
* firewall: document warden interface sdk
* readme: link openid connect and oauth2 introduction
* cmd: introduce FORCE_ROOT_CLIENT_CREDENTIALS env var - closes #140
* readme: document error redirect to identity provider - closes #96
* internal: fosite store must be consistent to avoid errors - closes #176
* client: add GetConcreteClient to http manager
* cmd: host process now logs basic information on all http requests - closes #178
* all: add memory profiling - closes #179
* warden: resolve nil pointer issue - closes #181
* cmd: clean up env to struct mapping, add more controls
* cmd: bcrypt cost should be configurable - closes #184
* cmd: token lifespans should be configurable - closes #183
* cmd: resolve issues with envirnoment config - closes #182
* cmd: implement tls termination capability - closes #177
* cmd: resolve issues with redirect logic and TLS
* oauth2: implement default oauth2 consent endpoint - closes #185
* warden - closes #188 
* oauth2: id token claims should be set by using id_token - closes #188
* oauth2: oauth2 implicit flow should allow custom protocols - closes #180
* oauth2: core scope should not be mandatory - closes #189
* warden: warden sdk should not make distinction between token and request - closes #190
* warden: rename authorized / allowed endpoints to something more meaningful - closes #162
* ci: improve travis config
2016-08-09 14:05:18 +02:00
Aeneas 24d34b312e warden: resolve date and scope issues
* closes #126 
* closes #125 
* closes #124
2016-06-30 11:11:27 +02:00
Aeneas c77d2dc7b8 Resolve issues with warden and client api (#120)
* warden: fix firewall settings close #118

* client: do not base64 encode client secrets on http api close #119

* vendor: glide up
2016-06-26 14:03:42 +02:00
fazal 127db0a855 cmd: mount warden handler (#110) 2016-06-20 18:02:49 +02:00
Aeneas 00fd93cab2 🔥 0.1-beta 🔥 2016-05-29 11:50:57 +02:00