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

Disabling '/applications' routes #38

Open Ross65536 opened 3 years ago

Ross65536 commented 3 years ago

Is there a way to disable the '/applications' routes (/oauth/applications in my case) or to enable them to only certain kinds of users (admins)?

I want to be able to automatically add applications from a 'seed' file and prevent regular users from adding their own.