bunq / sdk_php

PHP SDK for bunq API
MIT License
84 stars 54 forks source link

QUESITION: Does BUNQ-INSTALL make API Key Wildcard if no IP is given for permitted IP? #168

Closed sankarcn closed 5 years ago

sankarcn commented 5 years ago

Steps to reproduce:

  1. Run BUNQ-INSTALL from Command Promp
  2. Provide Oath API Key
  3. Provide blank when it asks for Permitted IP addresses
  4. Use the Private Key, Installation Token generated to make a Session Server Call From Google App Script (Different IP address since it runs in a cloud)

What should happen:

  1. This is a question... Does Blank in Permitted IP Addresses to the Interactive BUNQ-INSTALL make it a Wild Card API? Or anything else that I don't know of?

What happens:

  1. The Session-Server Call is executing successfully.

Traceback

SDK version and environment

Response id

Extra info:

basst85 commented 5 years ago

When permitted IPs is empty only the current IP is allowed. When you set your current IP address followed by a "*" you will enable wildcard mode.

sankarcn commented 5 years ago

Seem to be something wrong on my side..

OGKevin commented 5 years ago

@sankarcn you must specify the current ip address and then the *. This should be on the doc. see: https://github.com/bunq/doc/pull/72/files