mattbrailsford / umbraco-authu

An Umbraco plugin to add an OAuth API endpoint to allow authenticated Members/Users via OAuth
MIT License
71 stars 22 forks source link

how to OAuth.ConfigureEndpoint advance? #42

Closed hakan-lekesiz closed 5 years ago

hakan-lekesiz commented 5 years ago

I want to use OAuth.ConfigureEndpoint advance. where and how should I add this configuration in project? is it globa.asax? please give more information in documantation.

mattbrailsford commented 5 years ago

As per the documentation here https://github.com/mattbrailsford/umbraco-authu#configuration it is configured within an umbraco ApplicationEventHandler. The documentation provides you with a basic stub of one of these, and then also gives you examples of the different configurations. Those will replace line 5 of the ApplicationEventHandler stub.