I had a MCV core app that uses cookie based authentication (stores user credentials in DB). Later I introduced a web api as the backend of this MVC application. Now both are hosted together as a Azure web app. For now my cookie authentication logic is still in the MVC application. So what is the simplest approach for me to secure the web api.
How authorize a web API using a cookie based authentication
260 Views Asked by Chamodh At
1
There are 1 best solutions below
Related Questions in AZURE
- Why does Azure Auto-Scale scale go lower then minimum amount of instances?
- Data execution plan ended with error on DB restore
- Why does Azure CloudConfigurationManager.GetSetting return null
- Do I need other roles than Worker Role for a web site and service layer in Azure?
- Azure Web App PATH Variable Modification
- Azure Data Factory: LinkedService for AzureSql in failed state
- How To Update a Web Application In Azure and Keep The App Up the whole time
- Using Azure MobileServices library with my own LAN WebApi
- ionCube loader error on Azure IIS
- App crash (if closed) after click on notification
- How to get sql data bases instances in azure using java api
- I want to create file in azure share using python PUT requests but getting error signature not correct including headers
- Enabling OPTIONS method on Azure Cloud Service (to enable CORS)
- Redirecting subdomain to directory on Azure
- Kaltura account settings error
Related Questions in AUTHENTICATION
- Access roles from multiple applications
- Different storyboard's entry points depending on a parameter
- SoundCloud Authentication Consistently Returns 401 invalid_grant For Some Users
- sendxmpp not authorized failure (Error AuthSend)
- Retrieve user information from Active Directory on login
- Log in through active directory
- Ember.js REST Auth Headers
- Validate Deezer access token on server
- Why does IIS Anonymous Authentication turn on by itself after I publish my project to server?
- Laravel - session data survives log-out/log-in, even for different users
- How can I share Azure Active Directory authentication between server side and client script?
- django rest framework - token authentication logout
- NameValuePair, HttpParams, HttpConnection Params deprecated on server request class for login app
- How to delete user from _User through Parse REST API
- Cannot login with new SQL User - SQL 2014
Related Questions in COOKIES
- Scrapy encountered http status <521>
- NodeJS not getting cookie
- How to accept cookies when using a webservice - Android?
- I Want to get the page count using cookie
- Superagent share session / cookie info with actual browser
- CookieContainer does not store cookies for internationalized domain names
- Setting a cookie in Wordpress functions.php - cant echo it using an other function
- JavaScript's document.cookie does not replace cookie in the subdomain
- How to assign cookie expiry date?
- How to read a JavaScript cookie?
- How can I redirect to an error page in my Play app?
- Python - Cookies & BeautifulSoup
- Express.js CookieParser does not get Angular.js $cookies
- Check Cookies AND Session in Same IF Statement
- How do I read the value of a cookie that comes with a cross domain image?
Related Questions in ASP.NET-CORE-WEBAPI
- Determine port in asp.net core
- How to POST 2 or more objects to ASP.NET Core WebAPI
- Json problems using Angular2 and Net Core Web Api
- return html file from .Net Core api
- Using Dependency Injection with .NET Core Class Library (.NET Standard)
- Using Cookies based authentication in WebAPI and asp.net core
- Unit testing controller methods which return IActionResult
- ASP .NET MVC Core WEB API upload file showing error using Angular JS
- Sending requests from spa to .netcore web api using adaljs always returns 401
- Googe Authentication from .net Core not hitting my CallBackPtah that i have set in Startup Class
- Json response does not contain all the navigation properties EntityFramework Core and ASP .NETCore Web API
- Update model with TryUpdateModel in ASP.NET MVC Core Web API and Entity Framework Core doesn't work
- What is the correct DefaultScopedLifestyle for an asp.net Core Web API service using Simple Injector?
- How to send email with attachment using MimeMessage in asp.net core web API?
- How best to communicate between two ASP.NET Core server apps?
Related Questions in HTTP-TOKEN-AUTHENTICATION
- Token based authorization in nodejs/ExpressJs and Angular(Single Page Application)
- django rest framework - token authentication logout
- django rest framework - adding to views.obtain_auth_token
- Build and use Cookie for token based authentication to gain access to api through openAM
- Type of authentication when using HTTP and websockets
- How to allow multiple URLs before someone signs in using token auth, Angular
- JWT and CSRF differences
- Devise.friendly_token returns an equal hash all the time
- Basic authentication vs token authentication
- AngularJS recreate last api call
- Using Refesh Token in Token-based Authentication is secured?
- How to pass token to custom Login Module for Glassfish 3
- authenticate_with_http_token evaluates to nil
- What is the difference between JSON Web Signature (JWS) and JSON Web Token (JWT)?
- DRF Token Authentication - not able to retrieve Token on Postman
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I simply used the Authorize attribute in my API controllers and that resolved the issue.