StackExchange / StackExchange/StackExchange.Redis

Not able to get identity auth to work

Open
#2,519 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

☁️ platform:Azure
Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

I am trying out the new identity auth with a basic tier azure redis (v6.0 with AAD access auth enabled with minTLS 1.2). I tried using a client app to connect but am getting:

StackExchange.Redis.RedisConnectionException: It was not possible to connect to the redis server(s). There was an authentication failure; check that passwords (or
client certificates) are configured correctly: (RedisServerException) NOAUTH Returned - connection has not yet authenticated

The client service principal had been granted the data contributor access policy to the cluster.

Am I missing anything here or is there any way I can further troubleshoot the issue?

Thanks so much!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the identity-auth connection setup for Azure Redis and the service principal's data contributor permission. Reproduce the NOAUTH failure with the stated Redis 6.0, AAD access, and minTLS 1.2 configuration, then confirm that the client authenticates successfully or document the missing configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, redis
Domain
authentication, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.