Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin OIDC auth settings endpoints giving 404 #9348

Open
atrauzzi opened this issue Feb 24, 2025 · 7 comments
Open

Admin OIDC auth settings endpoints giving 404 #9348

atrauzzi opened this issue Feb 24, 2025 · 7 comments
Assignees
Labels

Comments

@atrauzzi
Copy link

atrauzzi commented Feb 24, 2025

Describe the bug

I'm running into the following issue with Unleash when trying to do a GET to the admin OIDC configuration endpoint:

❯ curl -L 'http://localhost:4242/api/admin/auth/oidc/settings' \
-H 'Accept: application/json' \
-H 'Authorization: *:*.zxczxc123'

Here's what I get back:

{"id":"f8d1951c-bd12-47b9-8816-d54785e20a0c","name":"NotFoundError","message":"The path you were looking for (/api/admin/auth/oidc/settings) is not available.","details":[{"message":"The path you were looking for (/api/admin/auth/oidc/settings) is not available."}]}% 

Is there a special flag I have to pass to Unleash to enable the admin APIs?

I'm running with the latest docker container image.

@atrauzzi atrauzzi added the bug label Feb 24, 2025
@FredrikOseberg FredrikOseberg moved this from New to Bots in Issues and PRs Feb 25, 2025
@FredrikOseberg FredrikOseberg moved this from Bots to Investigating in Issues and PRs Feb 25, 2025
@chriswk
Copy link
Member

chriswk commented Feb 25, 2025

Hi @atrauzzi . The Open-Source version (unleashorg/unleash-server) does not have a built in OIDC endpoint, if you'd like this, you can contribute to https://github.com/unleash/unleash-docker-community. I see someone has made a oidc subfolder there; but we haven't had time to set up a working oidc configuration

@chriswk chriswk self-assigned this Feb 25, 2025
@atrauzzi
Copy link
Author

atrauzzi commented Feb 25, 2025

@chriswk
Copy link
Member

chriswk commented Feb 26, 2025

The docs include everything configured for enterprise. I'll bring the feedback to our docs team that the OpenAPI generated doc also needs to flag what is Enterprise only.

@melindafekete
Copy link
Collaborator

Hi @atrauzzi thank you for your feedback. All of Unleash's documentation is public, and that includes features only available with an Enterprise license.

I agree that we need to indicate better which endpoints are available with Unleash Enterprise only. I've added this feedback to the list of improvements we're planning to our API docs.

In the meantime, please use the corresponding reference documentation to check feature availability. In this case:
https://docs.getunleash.io/reference/sso
https://docs.getunleash.io/how-to/how-to-add-sso-open-id-connect

@melindafekete melindafekete moved this from Investigating to For later in Issues and PRs Feb 26, 2025
@atrauzzi
Copy link
Author

Yeah, you could afford to be considerably more transparent and forthcoming with these kinds of things.

It makes it look like you're deliberately trying to dark pattern people into a license.

Moreover, I'd actually suggest you reconsider what you currently deem "for pay" and "for free". I'm effectively unable to adopt Unleash into a reference architecture because I can't even prototype what I need. While I am not opposed to taking on solutions that could eventually come to require a license (you do deserve to get paid), I cannot take on anything that withholds core functionality in the free version.

(I can't propose reference architectures that come with $$$$hefty$$$$ bills day one.)

Again, please make SSO and admin APIs available in the free version, as well as lifting the project limit.

@chriswk
Copy link
Member

chriswk commented Feb 26, 2025

@atrauzzi
Copy link
Author

atrauzzi commented Feb 26, 2025

But I can't do it via an API as part of an automated bootstrap?

Will that work on the free version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: For later
Development

No branches or pull requests

3 participants