cloudfoundry / cloudfoundry/uaa

Issue in Redirection

Open
#3,099 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.6k
Forks
844
Avg merge
2d 5h
Merged PRs (30d)
27

Description

What version of UAA are you running?

77.17.0

How are you deploying the UAA?

I am deploying the UAA locally only using gradlew
./gradlew run

with the default details provided on uaa:
https://github.com/cloudfoundry/uaa/?tab=readme-ov-file#connecting-uaa-to-local-ldap-server

What did you do?

Accessing UAA with localhost as well with IP address

What did you expect to see? What goal are you trying to achieve with the UAA?

The redirect page should appear when accessing UAA with IP address. Its redirecting fine with accessing with localhost but when accessing it with IP address its routing back to login screen.. Screenshot when accessing with localhost is attached.
Screenshot 2024-10-28 175003

What did you see instead?

Login page again

What I have tried:

Adding zones:
zones:
internal:
hostnames:
- 192.168.x.x

Setting require https false:
require_https: false

What issue it causes at my end:

The issue arise when I took an update from github almost after 3+ years. The UI we are using was perfectly working with the UAA we had earlier. Soon after I upgraded, the redirection stopped working with all the configurations we were using earlier. Although we have reverted back the deployment but we still need to upgrade it. Any help on this would be highly appreciated.

Contributor guide

No contributing guide indexed for this repository

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 reproducing the redirect behavior with ./gradlew run, comparing localhost and the IP address using the local LDAP setup described in the UAA README. Review the reported zones and require_https settings; the issue is resolved when IP access reaches the expected redirect page instead of returning to the login screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.