HTTP Auth backend #67
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
KittenSquad/glewlwyd#67
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?
When I try to authenticate user from http-backend, everything goes well, until login.js requesting /api/profile_list
It getting response - 401, and authentication does not proceed (for some reason, correct http-backend user not authorized for profile_list.
Maybe I'm doing something wrong...
Maybe there is some not obvious way to linkt openid-connect with http-backend?
Hello @diver-ua ,
Thanks for reporting the issue. Indeed there's a bug in the user http backend I didn't see before...
I think I know why, this commit should do the trick:
41e7ec1Ok. that works now.
Thank you!
But, unfortunately, there is one more catch:
Is it possible to add some 'template domain' to http backend settings (email generation - username@template.domain) - some services (including the one, I have to configure) are authenticating by e-mail, and there is no email in http user profile...
BTW, if in the client_id present hash sign (
#), no updates/deletes are possible with this client from the web interface (hash sign is not escaped, and remaining part of client_id is missing from request uri)Concerning the template domain, you already can use the full e-mail address as login value if you want to.
But that's a good idea so I'll add this as a new feature probably in the next release.
Concerning the client_id bug, I'll fix that soon, thanks. Since the original bug is fixed now, I'm closing this issue. You can still open a new issue if you need to.
Thanks!
The client_id bug has been fixed in
52c5e11The template domain has been implemented in
dce8050For this new feature, in the backend configuration, you must set a
username formatlike{USERNAME}@template.domain