[Issue] openID Connect plugin cannot load 'JWKS to use' #199
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
KittenSquad/glewlwyd#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the issue
I try to configure openID connect plugin. On the Interface I try to add a JWKS but it gets two errors in the web frontend: Error while updating the module ; and Error in glewlwyd api.
I generated the keys like stated in https://babelouest.github.io/glewlwyd/docs/OIDC.html.
The private keys are generated, but it cannot added in the api
This fails with '--generate: Invalid argument' (I think this is a wrong command in the documentation)
keys are generated but cannot added in the api
rnbcy is at version 1.1.4
glewlwyd is at version 2.6.2
System is a debian bullseye (I made a backport package for glewlwyd and the needed libraries)
Any hint is appreciated ! I would also appreciate if I could figure out howto make glewlwyd a bit more chatty for debuging errors like that !
I tried before with PEM format keys but without success, firefox did not succed to redirect to login page, chromium did redirect, but the state_cookie could not be found.
Probably a simple quickstart-simple-oidc-working example would help as starting point. Documentation is good as it states what every parameter is for (if you know how oidc is working). But having a simple working example with the parameters needed and the probably a best-practice value to add would really help (even better if that would be suggested on adding of the pluggin, so I can make changes off a working configuration).
Well I'd like to end this report with a big THANK YOU for your'e work (although it's not working yet for me ;))
Hello @trefzer ,
Thanks for noticing, there is 2 problems raised:
algproperty for each key, thealgvalue corresponds to the JWA parameter. The second example should be something like that:algvalue, but the backend does. I'll fix that soon.What's weird is that I can't reproduce the problem with the first example, because it has an
algvalue in the key generated.Also, when you have a cryptic error message in the front-end, you may look at the backend log file (set logs in debug mode), which might have a more verbose error, if your error is still not understandable, you're welcome to open an issue or a discussion :)
Let me know if that helps
Hi
This was fast. I can confirm, first example works (no idea, why it did not work before !).
Second one is now also working as expected.
So adding the keys is working, so I have some new errors to investigate ! but know when trying to authenticate a user.
Well I will try to find the error, if I'm stock, I open a new ticket ;) feel free to close this one.
I fixed the UI in this commit
github.com/babelouest/glewlwyd@de674c07d4and the documentation is fixed heregithub.com/babelouest/glewlwyd@318d9701b2I will close this issue and I suggest you open another one for your new issue then. You should describe it using the template, and add screenshots if possible.
Thanks @trefzer !