Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module currently implements at least one hook (hook_openid_connect_claim
) but is lacking an openid_connect.api.php document.
I should be able to get to this soon.
Comment | File | Size | Author |
---|---|---|---|
#5 | create_api-2912215-5.patch | 2 KB | sanduhrs |
#2 | 2912215--openid_connect-document-api.patch | 537 bytes | chrisrockwell |
Comments
Comment #2
chrisrockwell CreditAttribution: chrisrockwell commentedHere's a start
Comment #3
interX CreditAttribution: interX as a volunteer commentedNice to see someone care about documentation ;)
Some remarks on your patch:
These are the real hooks that someone can use :
Note: line numbers can differ from the -dev version.
The following hooks need to be described :
Note the last hook. Imho, this hook__openid_connect_user_properties_to_skip should be changed from
to
This might break current implementations, but I doubt it is used a lot. At least we get a clean alter hook.
Comment #4
chrisrockwell CreditAttribution: chrisrockwell commentedThanks for the feedback @interX. I'm actually using
my_module_openid_connect_claims_alter
- looks like I left off the 's' but the hook is there.I'd love to come back to this and implement your feedback - I definitely wanted to get something started.
Comment #5
sanduhrsAdd some more details.
Comment #7
sanduhrsCommitted, thanks!