@steinmb - It's been a while since I looked at this, in fact, I had not realized you had replied to me until just now when I thought to check if there had been any updates to my issue.
Is there anything I can provide to make it easier to find the cause of the issue?
I can provide a patch that applies my fix, which has been working for us since December, but I haven't had a chance to see what is actually at fault. All my patch would do is comment out the logic that was preventing it from working for us.
- 🇳🇴Norway steinmb
Thank you for getting back to "us". I am not a maintainer though, feel free to attach a patch, and if this turn into a missing feature we could rescope this into a feature request.
- 🇻🇳Vietnam tannguyenhn
@pumpkinkid2
I think you can do it by create a custom controller to call client authorize and set the give response like this.
https://git.drupalcode.org/project/openid_connect/-/merge_requests/27/diffs - 🇨🇦Canada liquidcms
Been tasked to do the same thing (have a link to initiate authentication). I was thinking custom controller would be involved. Looking at the MR in #6 i don't see a controller though, am i missing something?
- 🇨🇦Canada liquidcms
Ah, perhaps just triggering off /user/login? Trying it out now.
- 🇨🇦Canada liquidcms
Tried event subscriber in a custom module and works great. Thanks for this.
@tannguyenhn - Thank you for your reply, I will look into this and see if this will help alleviate other issues we are having.
I was able to figure out how to start the process with an unmodified version of the module by calling the link in a specific way. It seems that I was just not understanding how the module was designed to accommodate for this use case.
I ended up having to add the domain to Allowed domains in the configuration, as I had suspected, however, the link had to be called as so:
/openid-connect//initiate?iss=https://www.domain.com- Status changed to Needs review
5 months ago 10:18am 7 June 2024 - 🇧🇪Belgium Thomas Cys
The initiate link works but it ignores the scopes defined by the openid connect client. It only uses the default scopes (email, openid). The attached patch fixes this bug.
- Status changed to Closed: works as designed
5 months ago 1:36pm 8 June 2024