Displaying 2 results from an estimated 2 matches for "grant_type".
Did you mean:
front_type
2010 Sep 17
0
ruby's oauth2 grant_type
Hi, i started using oauth2 gem by intridea
(http://github.com/intridea/oauth2) and don''t know how to fix this
problem. I have developed both client and server and on request for
access_token i see no grant_type parameter. My code from client callback
controller
class CallbackController < Devise::OauthCallbacksController
def accounts
access_token = accounts_config.access_token_by_code(params[:code])
@user = User.find_for_accounts_oauth(access_token,
signed_in_resource)
if @user.persisted...
2020 Feb 14
0
Dovecot Proxy - Oauth2 mech add custom fields
...ser.
When a user login with this method:
OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot ready.
a login mailbox*user password
Dovecot when requiring the grant_url send to Keyclock, for example, this post (I have already enabled raw_log for analysis):
grant_type=password&username=domenico&password=test&client_id=imap-client&client_secret=99e26b26-0f2a-4b64-8f57-c0ca2147d3a0&scope=emailPOST /auth/realms/example/protocol/openid-connect/token/introspect
The call pass to Keyclock only master_user and miss mailbox info.
In fact, the JSON re...