kangaroo-server / kangaroo

An open source, multi-tenant, OAuth2 Authorization server.
Apache License 2.0
7 stars 2 forks source link

Private/Public client permissions moved into authentication filter #416

Closed krotscheck closed 6 years ago

krotscheck commented 6 years ago

We should be able to have a single auth method permit private clients, while other auth methods permit public clients. For example, bearer token based auth for token introspection should allow any client, while client auth must only permit private clients. As such, this patch moves the client processing filter into the Authentication filters, not the Authorization filters.