Sha256: 99ce3b0cfa4c14659e3488186969ce2dbc0df8025ffab163547c6713c5ef9644
Contents?: true
Size: 495 Bytes
Versions: 21
Compression:
Stored size: 495 Bytes
Contents
require 'rack/oauth2' client = Rack::OAuth2::Client.new( identifier: client_id, secret: secret, state: 'some_state', redirect_uri: redirect_url, authorization_endpoint: 'https://www.mollie.com/oauth2/authorize', token_endpoint: 'https://api.mollie.com/oauth2/tokens' ) redirect_to client.authorization_uri( state: 'some_state', scope: 'payments.read refunds.write', approval_prompt: 'auto' )
Version data entries
21 entries across 21 versions & 1 rubygems