search for: client_secret

Displaying 4 results from an estimated 4 matches for "client_secret".

2012 May 25
1
Connect reset by peer error
...ppet: def accesstoken @code = params[:code] url = URI.parse(''access token request url'') req = Net::HTTP::Post.new(url.path) req.set_form_data({''auth_code'' => @code, ''client_id''=>''my_client_id'', ''client_secret''=>''my_secret_key''}, '';'') res = Net::HTTP.new(url.host, url.port).start { |http| http.request(req) } case res when Net::HTTPSuccess, Net::HTTPRedirection # OK else # res.error! end render :text => @code.inspect end...
2009 Jul 17
2
exim4 dovecot sasl problem
...te-exim4.conf command. i'm running debian lenny. here's the authentication section of exim4.conf.template: begin authenticators cram_md5: ? driver = cram_md5 ? public_name = CRAM-MD5 ? client_name = ${extract{1}{:}{${lookup{$ host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}} ? client_secret = ${extract{2}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}} PASSWDLINE=${sg{\ ??????????????? ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}\ ??? ??????? }\ ??? ??????? {\\N[\\^]\\N}\ ??? ??????? {^^}\ ??? ??? } plain: ? driver = plaintext ? public_name =...
2010 Sep 17
0
ruby's oauth2 grant_type
...end end end Logs from provider Started POST "/oauth/token" for 127.0.0.1 at 2010-09-17 00:17:44 +0400 Processing by Oauth::TokenController#get_token as */* Parameters: {"client_id"=>"9ddf5f526127a8858485f2c9401c7152cfaf870da62267e6f54643de53eb6a76", "client_secret"=>"84388e2ca839c2834177024a6f358b1415bcd3ea936be1148443d9df2f7cf363", "redirect_uri"=>"http://test.local.lo/users/oauth/accounts/callback", "type"=>"web_server", "code"=>"d264c2496d0dc5c494b7269f2f9e4c30cd55a571b6944d...
2020 Feb 14
0
Dovecot Proxy - Oauth2 mech add custom fields
...S 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 response after login return the only username without mailbox: [...] "scope": &quo...