Hi,
I noticed that the application is configured to use Bearer Tokens.
What else I need to configure so that WebAPI calls could make use of those tokens on mobiles instead of cookies?
Thanks, Bilal
5 Answer(s)
-
0
Hi,
You don't have to configure anything. You can use it as described in here <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide-Core#token-based-authentication">https://aspnetzero.com/Documents/Develo ... entication</a>.
Please select the correct document according to your template version here <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide">https://aspnetzero.com/Documents/Development-Guide</a>.
I have shared a documetn for ASP.NET Core & JQuery version.
-
0
Thank you. I read this document.
Is it implemented by default for Web APIs or I have to write the code to use it? Do I need to change how users login, etc. ?
Thanks
-
0
Yes Is it implemented by default for Web APIs, you don't need to write any code in your project.
-
0
Oh Perfect :-) Thanks a lot. So the example in the documentation is just to see how it works,etc.
Regards Bilal
-
0
Yes, exactly :)