Skip to content
Dan Buettner edited this page Jun 13, 2023 · 4 revisions

as OpenID ConnectClient

Basic Features

Advanced Features

as OpenID Connect Server

will write someday..

Debugging

Call OpenIDConnect.debug!, then you'll see all HTTP requests after that line in the log.

In Rails, you'll need to set OpenIDConnect.logger = Rails.logger.

OpenIDConnect.debug!
OpenIDConnect.logger = Rails.logger

Since openid_connect gem uses its sub-protocol gems for some of its features, you might need to setup logger to rack-oauth2, webfinger and swd gems too.

Rack::OAuth2.logger = Rails.logger
WebFinger.logger = Rails.logger
SWD.logger = Rails.logger