Skip to content

Commit

Permalink
Merge branch 'release/0.6.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Aug 8, 2018
2 parents 6ab8191 + 129cf06 commit e9128b1
Show file tree
Hide file tree
Showing 6 changed files with 7,527 additions and 11,012 deletions.
21 changes: 19 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
# Change Log

## [Unreleased](https://github.com/bunq/doc/tree/0.6.0)
## [0.6.2](https://github.com/bunq/doc/tree/0.6.2)

[Full Changelog](https://github.com/bunq/doc/compare/0.6.1...0.6.2)

**Closed issues:**

- Add oauth assests to description. [\#53](https://github.com/bunq/doc/issues/53)
- OAuth authorization request parameter response\_code not correct [\#52](https://github.com/bunq/doc/issues/52)

**Merged pull requests:**

- Bunq/doc\#53 regenerate [\#55](https://github.com/bunq/doc/pull/55) ([OGKevin](https://github.com/OGKevin))
- Added asset reference to description. \(bunq/doc\#53\) [\#54](https://github.com/bunq/doc/pull/54) ([OGKevin](https://github.com/OGKevin))
- Replace parameter response\_code with response\_type [\#51](https://github.com/bunq/doc/pull/51) ([basst85](https://github.com/basst85))

## [0.6.1](https://github.com/bunq/doc/tree/0.6.1) (2018-07-25)
[Full Changelog](https://github.com/bunq/doc/compare/0.6.0...0.6.1)

## [0.6.0](https://github.com/bunq/doc/tree/0.6.0) (2018-07-24)
[Full Changelog](https://github.com/bunq/doc/compare/0.5.3...0.6.0)

**Closed issues:**
Expand All @@ -11,8 +28,8 @@

**Merged pull requests:**

- Oauth bunq/doc\#48 [\#49](https://github.com/bunq/doc/pull/49) ([OGKevin](https://github.com/OGKevin))
- bunq/doc\#46 - updated description.md [\#47](https://github.com/bunq/doc/pull/47) ([painjansen](https://github.com/painjansen))
- Oauth bunq/doc\#48 [\#49](https://github.com/bunq/doc/pull/49) ([OGKevin](https://github.com/OGKevin))

## [0.5.3](https://github.com/bunq/doc/tree/0.5.3) (2018-06-01)
[Full Changelog](https://github.com/bunq/doc/compare/0.5.2...0.5.3)
Expand Down
9 changes: 8 additions & 1 deletion DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Your web or mobile app should redirect users to the following URL:

The following parameters should be passed:

- `response_code` - bunq supports the authorization code grant, provide `code` as parameter (required)
- `response_type` - bunq supports the authorization code grant, provide `code` as parameter (required)
- `client_id` - your Client ID, get it from the bunq app (required)
- `redirect_uri` - the URL you wish the user to be redirected after the authorization, make sure you register the Redirect URL in the bunq app (required)
- `state` - a unique string to be passed back upon completion (optional)
Expand Down Expand Up @@ -128,6 +128,13 @@ Note: the request only contains URL parameters.
"error_description": "The authorization code is invalid or expired."
}
```
### Using the Connect button

All good? Ready to connect to your bunq users? Refer to our style guide and use the following assets when implementing the **Connect to bunq** button.

- [Style guide](https://bunq.com/info/oauth-styleguide)
- [Connect button assets](https://bunq.com/info/oauth-connect-buttons)


### What's next?

Expand Down
749 changes: 304 additions & 445 deletions docs/index.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions docs/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@
/* eslint-disable indent, no-unused-vars, no-multiple-empty-lines, max-nested-callbacks, space-before-function-paren, quotes, comma-spacing */
'use strict';

var precacheConfig = [["/index.html","b43d20599ed2e9662189c169f8f9aef8"]];
var precacheConfig = [["/index.html","cac36495ede9dd644674cfcfdd35bdb7"]];
var cacheName = 'sw-precache-v3--' + (self.registration ? self.registration.scope : '');


var ignoreUrlParametersMatching = [/^utm_/];



var addDirectoryIndex = function (originalUrl, index) {
var addDirectoryIndex = function(originalUrl, index) {
var url = new URL(originalUrl);
if (url.pathname.slice(-1) === '/') {
url.pathname += index;
}
return url.toString();
};

var cleanResponse = function (originalResponse) {
var cleanResponse = function(originalResponse) {
// If this is not a redirected response, then we don't have to do anything.
if (!originalResponse.redirected) {
return Promise.resolve(originalResponse);
Expand All @@ -75,7 +75,7 @@ var cleanResponse = function (originalResponse) {
});
};

var createCacheKey = function (originalUrl, paramName, paramValue,
var createCacheKey = function(originalUrl, paramName, paramValue,
dontCacheBustUrlsMatching) {
// Create a new URL object to avoid modifying originalUrl.
var url = new URL(originalUrl);
Expand All @@ -91,7 +91,7 @@ var createCacheKey = function (originalUrl, paramName, paramValue,
return url.toString();
};

var isPathWhitelisted = function (whitelist, absoluteUrlString) {
var isPathWhitelisted = function(whitelist, absoluteUrlString) {
// If the whitelist is empty, then consider all URLs to be whitelisted.
if (whitelist.length === 0) {
return true;
Expand All @@ -104,7 +104,7 @@ var isPathWhitelisted = function (whitelist, absoluteUrlString) {
});
};

var stripIgnoredUrlParameters = function (originalUrl,
var stripIgnoredUrlParameters = function(originalUrl,
ignoreUrlParametersMatching) {
var url = new URL(originalUrl);
// Remove the hash; see https://github.com/GoogleChrome/sw-precache/issues/290
Expand Down
Loading

0 comments on commit e9128b1

Please sign in to comment.