# \#webapi

**URL:** https://community.auth0.com/tag/webapi/465.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [No 'Access-Control-Allow-Origin' header is present on the requested resource (ASP.NET Core Web API 3.1 + Angular)](https://community.auth0.com/t/no-access-control-allow-origin-header-is-present-on-the-requested-resource-asp-net-core-web-api-3-1-angular/85129)

<div class="topic-metadata">

**Author:** [@tararia](https://community.auth0.com/u/tararia)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 1:33pm UTC](https://community.auth0.com/t/no-access-control-allow-origin-header-is-present-on-the-requested-resource-asp-net-core-web-api-3-1-angular/85129 "2023-09-19T13:33:36Z")

</div>

The frontend is angular SPA and the backend is ASP.NET Core Web API 3.1. The backend API contains only two endpoint: one public, one secured with \[Authorize\] attribute. I am able to login to the sample angular applicatio…

---

## [Consent Required but no prompt when calling API](https://community.auth0.com/t/consent-required-but-no-prompt-when-calling-api/75228)

<div class="topic-metadata">

**Author:** [@andrew.groat](https://community.auth0.com/u/andrew.groat)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 9:21am UTC](https://community.auth0.com/t/consent-required-but-no-prompt-when-calling-api/75228 "2022-01-10T09:21:43Z")

</div>

Hi, I’m attempting to call a web api that I have created in dotnet core 5 from my Angular application. I’ve followed the quickstarts, Call an API, and ASP.NET Core Web API. When I setup my Angular app to call the user…

---

## [WebAPI 2 QuickStart sample not compatible with WebAPI 2 (.NET 4.6.1)](https://community.auth0.com/t/webapi-2-quickstart-sample-not-compatible-with-webapi-2-net-4-6-1/10909)

<div class="topic-metadata">

**Author:** [@bojanz27](https://community.auth0.com/u/bojanz27)\
**Replies:** 0\
**Last updated:** [April 16, 2018, 2:33pm UTC](https://community.auth0.com/t/webapi-2-quickstart-sample-not-compatible-with-webapi-2-net-4-6-1/10909 "2018-04-16T14:33:31Z")

</div>

I have existing WebAPI project with .NET framework 4.6.1 Trying to setup Auth0 by following through QuickStart https://manage.auth0.com/#/applications/maSXtxq0pWJZU9UgITR7khaBOmtrNPxW/quickstart However, this example d…

---

## [Lock.show method doesn't allowing override prefill values](https://community.auth0.com/t/lock-show-method-doesnt-allowing-override-prefill-values/8958)

<div class="topic-metadata">

**Author:** [@dan.kopriva](https://community.auth0.com/u/dan.kopriva)\
**Replies:** 1\
**Last updated:** [December 13, 2017, 7:26pm UTC](https://community.auth0.com/t/lock-show-method-doesnt-allowing-override-prefill-values/8958 "2017-12-13T19:26:09Z")

</div>

Based on https://auth0.com/docs/libraries/lock/v10/api#show- I can’t override prefill values, are there any plans to allowing this in next versions?

---

## [Properly Setting up .Net WebApi using Owin for Multi Tenants](https://community.auth0.com/t/properly-setting-up-net-webapi-using-owin-for-multi-tenants/8223)

<div class="topic-metadata">

**Author:** [@jeremy11](https://community.auth0.com/u/jeremy11)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 7:52am UTC](https://community.auth0.com/t/properly-setting-up-net-webapi-using-owin-for-multi-tenants/8223 "2017-09-19T07:52:28Z")

</div>

I’m working on a SaaS product that will need to allow for multiple tenants. This application will have fine-grained access control (think functions vs roles) and a low chance of a user spanning multiple tenants (User A…

---

## [WepAPI v2 running in local host trying to register test user](https://community.auth0.com/t/wepapi-v2-running-in-local-host-trying-to-register-test-user/8176)

<div class="topic-metadata">

**Author:** [@michael.carpenter](https://community.auth0.com/u/michael.carpenter)\
**Replies:** 0\
**Last updated:** [September 14, 2017, 3:57am UTC](https://community.auth0.com/t/wepapi-v2-running-in-local-host-trying-to-register-test-user/8176 "2017-09-14T03:57:20Z")

</div>

I have an angular 4 cordova app using Auth0. I have it implemented, and users can register, log in and out. I am now trying to figure out how to set up a test bed with a C# Web API v2 back end running on a localhost po…

---

## [Using Auth0 for C# WebAPI, Angular and WPF apps](https://community.auth0.com/t/using-auth0-for-c-webapi-angular-and-wpf-apps/7846)

<div class="topic-metadata">

**Author:** [@russ](https://community.auth0.com/u/russ)\
**Replies:** 3\
**Last updated:** [August 22, 2017, 3:07pm UTC](https://community.auth0.com/t/using-auth0-for-c-webapi-angular-and-wpf-apps/7846 "2017-08-22T15:07:35Z")

</div>

We currently have a backend C# WebAPI that uses ASP.NET Identity to a SQL database with \<10 users currently (would not look at migrating users, but starting afresh). There is a Angular website that users log in via the …

---

## [Web API + Authorisation](https://community.auth0.com/t/web-api-authorisation/7368)

<div class="topic-metadata">

**Author:** [@ronak.sharma](https://community.auth0.com/u/ronak.sharma)\
**Replies:** 1\
**Last updated:** [July 6, 2017, 6:53pm UTC](https://community.auth0.com/t/web-api-authorisation/7368 "2017-07-06T18:53:38Z")

</div>

I got access\_token from Auth0 which contains roles and groups. But when passing same access\_token to call web-api’s. I am not getting groups and roles claims. I had use below code to decorate my web-api method \[Author…

---

## [Need help upgrading to newer Auth0 .NET SDK version](https://community.auth0.com/t/need-help-upgrading-to-newer-auth0-net-sdk-version/7218)

<div class="topic-metadata">

**Author:** [@loren.halvorson](https://community.auth0.com/u/loren.halvorson)\
**Replies:** 2\
**Last updated:** [June 26, 2017, 11:15pm UTC](https://community.auth0.com/t/need-help-upgrading-to-newer-auth0-net-sdk-version/7218 "2017-06-26T23:15:17Z")

</div>

I have a couple of questions related to upgrading some .NET server-side code (WebAPI, .NET v4.5.2) to a newer version of the Auth0 .NET SDK. It is currently using a very old version of the Auth0 NuGet package 1.11.3, a…

---

## [Can different signing algorithms be used across the ID token and access token being issued?](https://community.auth0.com/t/can-different-signing-algorithms-be-used-across-the-id-token-and-access-token-being-issued/6784)

<div class="topic-metadata">

**Author:** [@support1](https://community.auth0.com/u/support1)\
**Replies:** 3\
**Last updated:** [May 30, 2017, 5:22pm UTC](https://community.auth0.com/t/can-different-signing-algorithms-be-used-across-the-id-token-and-access-token-being-issued/6784 "2017-05-30T17:22:28Z")

</div>

I have created a web app and web api using ASP .Net Core 1.1 MVC, and am using Auth0 as the authentication server between the two. Following one of the Auth0 Quickstart guides, it says: In the APIs section of the Auth…
