Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Hybrid Flow Supported? #212

Open
nasunaoki opened this issue Oct 21, 2024 · 0 comments
Open

Hybrid Flow Supported? #212

nasunaoki opened this issue Oct 21, 2024 · 0 comments

Comments

@nasunaoki
Copy link

nasunaoki commented Oct 21, 2024

I want to use 'code id_token' to specify parameters

I am configuring the settings as below, but an Translation missing: ja.doorkeeper.errors.messages.unsupported_response_type error occurs.

Is there any better way?

Do you have any plans for support?

initializers/doorkeeper.rb
Doorkeeper::GrantFlow.register(
      'code id_token',
      response_type_matches: 'code id_token',
      response_mode_matches: %w[fragment form_post],
      response_type_strategy: Doorkeeper::Request::CodeIdToken
    )
    
Doorkeeper::GrantFlow.register_alias(
  'hybrid_oidc', as: ['code id_token']
)

Doorkeeper.configure do
   grant_flows %w(authorization_code implicit_oidc hybrid_oidc)
......
end

viesion is gem 'doorkeeper-openid_connect', '~> 1.8', '>= 1.8.9' used

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant