Last active
May 17, 2017 04:58
-
-
Save nov/15a835b975369b45a4d7cb7c73fef853 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'openid_connect' | |
# NOTE: Webfinger | |
OpenIDConnect::Discovery::Provider.discover! 'https://auth.login.yahoo.co.jp' | |
# => raise OpenIDConnect::Discovery::DiscoveryFailed exception saying "Not Found" | |
# NOTE: OIDC OP Config (v2) | |
OpenIDConnect::Discovery::Provider::Config.discover! 'https://auth.login.yahoo.co.jp/yconnect/v2' | |
# => success | |
# NOTE: OIDC OP Config (v1) | |
OpenIDConnect::Discovery::Provider::Config.discover! 'https://auth.login.yahoo.co.jp/yconnect/v1' | |
# => raise OpenIDConnect::Discovery::DiscoveryFailed exception saying "Jwks uri can't be blank and Issuer mismatch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment