3,017 questions
Best practices
0
votes
3
replies
60
views
Is it allowed to ask “Sign in with Apple” users for their real email address if they chose “Hide My Email”?
I’m using Sign in with Apple in my iOS app.
When a user chooses “Hide My Email”, I receive the @privaterelay.appleid.com relay address. For marketing reasons, I would prefer to have the user’s real ...
1
vote
1
answer
51
views
Logging out from a blazor app and also at the authority
I've got a Blazor app set up with an external oidc authority
builder.Services.AddAuthentication(options =>
{
options.DefaultScheme = "Cookies";
...
0
votes
0
answers
104
views
ASP.NET Core Web API returns 404 on all endpoints despite correct routing and configuration
##Program.cs
```
app.UseHttpsRedirection();
app.UseRouting();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.MapGet("/", () => "API is alive");
````
...
0
votes
0
answers
114
views
Android Chrome Custom Tabs login with Facebook
In our app, for login we use our web login page that supports email and facebook login. After login we redirect back to the app. It was working until recently we noticed that some phones (galaxy s24 ...
0
votes
0
answers
93
views
How to add ID to streaming table in Databricks?
I want to create DLT pipeline like following. I have streaming bronze table which looks like:
Name
City
Country
John
Tokyo
Japan
Mary
New York
USA
Sam
Tokyo
Japan
Now I need two more tables. Main ...
-2
votes
2
answers
139
views
How to prevent temporary email and mobile number used by users? [duplicate]
In a membership website users are required to verify their mobile and email by one-time password while registering. There are some third-party websites and apps that provide temporary email id and ...
0
votes
1
answer
87
views
Why does setting CultureInfo.CurrentUICulture and using RequestCultureFeature not change the language in ASP.NET Core?
I'm working on an ASP.NET Core web application with custom localization using JSON files. I'm trying to change the language at runtime and reflect it immediately in the current request. Here's what I ...
0
votes
0
answers
36
views
how to retrieve information from identity token in blazor
I'm creating a Blazor Server app where I call an API from one of my ASP.NET services that handles authentication using Identity.
The service correctly returns the response DTO:
tokenType": "...
1
vote
2
answers
128
views
"az webapp identity assign" command throws LinkedInvalidPropertyId
I am trying to assign user assigned managed identity to WebApp using Azure CLI.
The command follows below syntax
#This command fetches the resource id of my existing managed identity with name '...
0
votes
0
answers
92
views
Identity Id data type
I am creating a new project using .NET 9 with Entity Framework Core and Oracle 19c as the database. I have added Identity 9 and when I generated the initial migration it created the tables with ...
0
votes
1
answer
25
views
How can I hide the two factore authentification option in the Identity account
I'm using the ASP default identity (.Net 9.0).
Everything works fine except that when a user, once logged in, click on the its logged email account (manage account), an option is dispalyed "Two-...
0
votes
3
answers
97
views
Restarting IDENTITY column after inserting data
I have a table with an identity column defined by:
id INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
To begin with, I’ve inserted a few rows manually including the id column:
INSERT INTO things(id,...
0
votes
1
answer
110
views
SQL Server change identity cache value
I know in SQL Server you can disabled the identity cache like this:
ALTER DATABASE SCOPED CONFIGURATION SET IDENTITY_CACHE = OFF
But is there a way to have a custom cache with the identity (not ...
0
votes
1
answer
51
views
Add property to Identity to have User.Identity.Score
Is there a way to create an additional property for User.Identity that does NOT use claims? I've seen the solution that uses claims and tested it out. It works fine, but in the long run, it will not ...
0
votes
1
answer
51
views
How to remove all FlagSmith identities at once
When using the FlagSmith User Interface, I couldn't find any way to select all the identities and delete them at once.
As you can see in the image attached, we are forced to click the trash icon ...
0
votes
1
answer
72
views
What is the content of the ASP.NET Core Identity authentication cookie?
I've implemented ASP.NET Core Identity for authentication in my application, and during the login process, an authentication cookie is created in the user's browser. The value of this cookie appears ...
2
votes
2
answers
101
views
cleaner way to match observations using IDs in different columns
I am using mark-recapture data, with each individual having a PIT tag (Tag) and a genetic sample ID given at the first observation (ID), which is typically used as the ID for the individual (Unified....
0
votes
0
answers
140
views
AWS - Assume a role when using IAM Identity Center
We have deployed an AWS Landing Zone with LZA. We have multiple Accounts in our Organisation.
I want a user created in the Management Account in IAM Identity Center to assume a role set up in a ...
0
votes
0
answers
126
views
WebLogic 14C Custom Identity Asserter - Unsupported Token Type Error
Currently I am implementing a custom identity asserter in WebLogic 14C environment. I have developed following components.
An AuthenticationProvider.xml (which defines MBean Definition File elements)
...
0
votes
0
answers
45
views
AspNetCore.Identity Custom implementation with MongoDb and claims
I want to use AspNetCore.Identity for my backend. I am using MongoDb, so I am creating a custom UserStore implementation. It is my first time setting this up and I am a little uncertain about the ...
0
votes
1
answer
54
views
Unable to set the httpOnly cookie in the browser and send it back to server using javascript fetch
I am having Issues with receiving and sending httpOnly cookie - on the login Page
var response = await fetch(BASE_URL + 'login?useCookies=true', {
method: 'POST',
credentials: 'include',
...
1
vote
3
answers
105
views
Maintainable INSTEAD OF trigger with Identity columns
I want to add a trigger to my table to validate the data before allowing insert or update.
For example, something like this:
CREATE TABLE MyHorribleLegacyTable (i int IDENTITY, name char(100),
...
1
vote
1
answer
65
views
Why do I get inconsistent animations in this list view?
I'm digging into the weeds of SwiftUI and learning about view Identity for the first time. When playing around with some code and following along with WWDC talks I'm hitting some confusing animations.
...
2
votes
2
answers
128
views
Create an identity column that depends on another column
Let's say that I have a table with the following columns
dbo.Orders (
customerNumber INT,
orderNumber INT,
cost FLOAT, -- its just an example, there are other columns
...
)
I want the ...
0
votes
1
answer
79
views
What steps can be implemented to achieve the expected output using SQL query?
I have this input table:
Col1
Col2
Col3
1
2000
500
2
9000
200
3
5000
900
4
4000
600
Expected output
col1
col2
col3
1
9000
200
2
5000
500
3
4000
600
4
2000
900
How can we achieve the expected output ...
0
votes
1
answer
207
views
How to get user account name after Google Drive authorization?
When switching to a new authentication/authorization scheme, via CredentialManager, I had problems with getting the user account name in order to show this name to the user.
I studied all the ...
1
vote
1
answer
267
views
How to reset a Postgres IDENTITY column to its original first value
First, I'm aware of this answer and it does not do what I want
I need to reset IDENTITY so that next insert generates a 1, but it inserts a 2 instead:
create table test(
id BIGINT NOT NULL GENERATED ...
0
votes
1
answer
96
views
How to effectively manage tokens across the browsers to ensure a smooth user experience
I have a .NET blazor application which uses Azure B2C authenticate users.
Steps:
Open https://mywebsite.com in Chrome
Due to network policy it auto switches to Edge browser --> displays login ...
1
vote
1
answer
192
views
.NET MAUI Browser Delegated Authentication redirect URL invalid
Followed the instructions here for browser-delegated authentication, steps completed under .NET MAUI including "Prepare tenant", "Create .NET MAUI app", and "Sign in and sign ...
0
votes
3
answers
112
views
Equality and identity in Dart
I am just starting to study Dart and a question arose, a clear answer to which I could not find or formulate for myself.
I'm trying to figure out the difference between == and identity(). Using the ...
1
vote
1
answer
528
views
Azure function trigger unable to access storage account with key access off
I'm testing an Azure function that has a blob trigger then writes a message in a message queue.
I have "Allow storage account key access" disabled as we want to use Managed identities to ...
0
votes
0
answers
27
views
Identity in Clean Architecture. Unable to find the required services,required services by calling 'IServiceCollection.AddRazorPages'
I am new to Netcore and Clean Architecture. I have do many search but many thing change so I decide to ask here.
I also post the source code here for more investigation.
https://github.com/...
0
votes
0
answers
63
views
Passing Client side info to Login in Blazor Web app
I have a scenario, which worked previosuly in Blazor, but not in Blazor 9 (& 8) with the new Web app template & Identity.
I have a basked Id, stored on the client side in LocalStorage - at ...
0
votes
1
answer
78
views
Identity doesn't create the tables in the database
I'm starting a new .NET 9 Blazor project. When I created the project, I chose to use the "Individual Account" option. So, the Visual Studio procedure added the Identity to the project. I don'...
0
votes
0
answers
372
views
Entra Azure Access token is too large for sending to other APIs
We are implementing Entra OIDC flow in our .NET 8 application.
Currently we are able to login.
The ID token contains all our AppRoles (about 300). So far so good.
When we retrieve the access token (...
0
votes
0
answers
173
views
Add Identity in Blazor 9 project
I'm creating a new project using .NET MAUI Blazor Hybrid and Web App with .NET9. I want to add Identity to the project. To do so, right-click on the web project, select Add and then New Scaffolded ...
0
votes
0
answers
15
views
ASP.Net Identity OAuth login - 2 different UseGoogleAuthentication
I am using ASP.NET Standard (not .NET Core)
At startup I have this :
app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions()
{
ClientId = "client",
...
0
votes
1
answer
88
views
JWT Token returns NULL .NET API Login
I'm trying to generate JWT Token to an API response for login, but it returns null.
It is a standard JWT method to have token generated. Here is my code and logging output:
public class UserRepository ...
2
votes
2
answers
82
views
How do I determine whether a ZoneInfo is an alias?
I am having trouble identifying whether a ZoneInfo is built with an alias:
> a = ZoneInfo('Atlantic/Faeroe')
> b = ZoneInfo('Atlantic/Faroe')
> a == b
False
It seems like these ZoneInfos are ...
0
votes
1
answer
416
views
Microsoft identity provider disabled in azure function app
Im trying to add an identity provider to my azure function app but the item "Microsoft" is disabled in my options. I need this to be able to call my function in ADF via System-assigned ...
0
votes
1
answer
1k
views
Using Clean Architecture and Repository/Unit of work to build the application with ASP.NET Identity
I am working on creating a project using Clean Architecture (backend part). In this application I'm going to deal with users that can registrate/log in using jwt athentication and manipulate with ...
0
votes
1
answer
110
views
Error login in the login page with blazor and identity
I have a situation that I belive the problem is the life cicle of the components, using blazor server-side and .net 8.
Using the structure that blazor ofers me, after going from the login page where ...
0
votes
1
answer
94
views
How to Separate Login Systems for Two User Types (Student and Teacher) in ASP.NET Core Identity?
I'm working on an ASP.NET Core Identity project where I have two distinct types of users: Students and Teachers. The requirement is as follows:
Student accounts can only log in to the Student site.
...
0
votes
1
answer
71
views
Blazor WASM authentication not properly logging out Google user
I have followed this Microsoft guide.
I have created a brand new Blazor WebAssembly Standalone app. For Authentication, I choose "Individual Accounts", and I also include the sample pages. ...
1
vote
1
answer
50
views
Storing Other Data in IdentityDb Context
I am using EF Core and Identity library in my .net Core project, so I have to create separate context for both my entities (products etc.) and Identity, but I cannot create a relationship for separate ...
0
votes
1
answer
99
views
.Net Identity Bearer Token Expiration
I have different login methods for mobile and web application in .net webapi identity backend. Both clients are using ssame authentication scheme(IdentityConstants.BearerScheme). But I want to change ...
1
vote
0
answers
162
views
Refresh tokens with Identity 8
I am currently developing the authentication feature of an app using ASP.NET 8 with Identity 8 also and Angular in the front. I set up a basic http only login and registration, I have a nice login ...
-1
votes
1
answer
54
views
.Net Identity Bearer Multiple Expiration Times
I'm developing .Net WebApi with Identity project and I'm using Bearer Authentication. I have two types of clients. Mobile and Web projects. They need to have different token expiration times. I have ...
-1
votes
1
answer
457
views
Minimal API or AccountController for Login with ASP.NET Core Identity?
I'm creating an web app using react. All I want to do is to change the login logic, so that a user can login with username and password instead of email.
Should i use app.MapPost("api/login... ...
0
votes
1
answer
38
views
Get/Modify Rows In AspNetUserRoles Through Using An Extended Class For IdentityUserRoles
I am currently working on creating a feature that gives users the ability to switch between profiles. To implement this, I have decided to extend IdentityUserRoles with a new class as follows:
public ...