Closed Blankinfinity closed 4 years ago
I've also tried adding with ConfigureHostServices but getting the same result.
Sorry, i'm being an idiot, it is redirecting to an auth page which doesn't exit hence the error.
🙌 Thanks for using Prise, and special thanks for fixing this issue on your own!
Hi
Firstly i just want to say thanks for creating this library, i am finding it very useful. However I have run into a hurdle around authorization on the controllers.
I am adding Authorization in my hosts startup like below:
And then applying the authorize attribute to the controller :
When i try and hit the api endpoint i get an error of "Request not found. The specified uri does not exist." However if i remove the authorize attribute i can call it fine.
I tried doing AddAuthorization again in the controller bootstrape but this results in the same error.
Is it possible to use Auth with plugins at all, if so can you point me in the right direction.
thanks in advance