Open leopku opened 2 years ago
Hello, @leopku. It seems that the problem is related with the example app and how you send a request to the Dex. Provided errors show that requests are invalid.
@nabokihms Thanks.
The example app was the original example app of dex with no changes.
I have the same issue. I tried many different things on the example-app page:
janedoe@example.com
with scope groups
and connector ID ldap
janedoe@example.com
with scope groups
and no connector ID => I get to choose between "Log in with Email" and "Log in with OpenLDAP", neither of which works.admin@example.com
user I created in the PasswordsDB, does not work with "Log in with Email" and "Log in with OpenLDAP" (the latter is not surprising)(I am currently trying to put the whole example into docker-compose for testing, including building the example-app. Quite tricky, as the URLs need to be both reachable inside the container and in the Browser outside. But I doubt that this is the actual problem here, as I can get to the error message quite fine...)
Hu, not entering any values in the example-app page leads me to dex, where I can select "Log in with OpenLDAP" and get user/password fields. And then I get an LDAP-related error, so I guess at least the example-app -> dex thingy works...
OK, so I think the LDAP example needs some rephrasing, as everything seems to work, if you do not enter anything on the example-app page, but only click on the button. Then you can enter the credentials and login via LDAP.
Preflight Checklist
Version
2.32.0
Storage Type
SQLite
Installation Type
Binary
Expected Behavior
Success login via http://localhost:5555/
Actual Behavior
invalid_scope: Client can't request scope(s) ["audience:server:client_id:johndoe@example.com"]
Steps To Reproduce
Additional Information
No response
Configuration
Logs