cloudfoundry / cloudfoundry/uaa

Issuer URL is reported wrong in /.well-known/openid-configuration

Open
#805 12 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What version of UAA are you running?

4.11.0

How are you deploying the UAA?

I am deploying the UAA

  • locally only using gradlew
What did you do?

curl http://localhost:8080/uaa/.well-known/openid-configuration | jq .

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

I expect to see issuer with value http://localhost:8080/uaa since that's what I have set in my uaa.yml file

What did you see instead?

It wrongly returns http://localhost:8080/uaa/oauth/token as issuer

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

Reproduce the issue with the documented curl request against /.well-known/openid-configuration and review the issuer value configured in uaa.yml. Trace the endpoint's issuer construction and verify that the response reports http://localhost:8080/uaa rather than the /oauth/token URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.