[Issue] There is no logs for OAuth2 plugin events Client Credentials Flow #182
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
KittenSquad/glewlwyd#182
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?
We have "OAuth2 plugin events" logs:
but there is no logs for Access token generated for Client Credentials flow.
BTW I think adding an origin IP address would be useful, and maybe used flow to? Something like this for Client Credential access token issued:
My bad, it's forgotten in the documentation but there already is a log event messsage for generation of an access token on client credentials flow: https://github.com/babelouest/glewlwyd/blob/master/src/plugin/protocol_oauth2.c#L443
I'll update the documentation
Concerning the IP address and the flow to add to the log messages, that can be done as well, I'll append those at the end of the existing message to help current installation parsing configuration.