danschultzer / phoenix_oauth2_provider

Get an OAuth 2 provider running in your phoenix with controllers, views and models in just two minutes
MIT License
84 stars 41 forks source link

Split oath applications routes for more granular control #41

Open Ross65536 opened 3 years ago

Ross65536 commented 3 years ago

Split oath_routes into 2 separate macros to allow more granular control and for better protection of the /oauth/application endpoint, allowing for example only admins to view and manage their OAuth applications.

The changes are backwards compatible.

Closes #38

Ross65536 commented 3 years ago

@danschultzer Could you take a look at this PR?