Skip to content

Commit 748e415

Browse files
committed
Allow empty postLogoutRedirectUris
1 parent 251c287 commit 748e415

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

OpenFlow/src/OAuthProvider.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export class OAuthProvider {
112112
// cli.grant_types = cli.grants;
113113
// if (cli.grant_types == null) cli.grant_types = ['authorization_code'];
114114
if (cli.grant_types == null) cli.grant_types = ['implicit', 'authorization_code'];
115+
console.log(cli.post_logout_redirect_uri)
115116

116117

117118
// cli.redirect_uris.push("https://localhost.openiap.io/")
@@ -201,6 +202,10 @@ export class OAuthProvider {
201202
return parsed.href === registered.href;
202203
});
203204
}
205+
if(client.postLogoutRedirectUris == null || client.postLogoutRedirectUris.length == 0) {
206+
var org2 = (client as any).postLogoutRedirectUriAllowed;
207+
(client as any).postLogoutRedirectUriAllowed = (value) => true;
208+
}
204209

205210
}
206211
if (instance.oidc != null) {

OpenFlowNodeRED/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openiap/nodered",
3-
"version": "1.1.182",
3+
"version": "1.1.183",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.182
1+
1.1.183

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openiap/openflow",
3-
"version": "1.1.182",
3+
"version": "1.1.183",
44
"description": "Simple wrapper around NodeRed, RabbitMQ and MongoDB to support a more scaleable NodeRed implementation.\r Also the \"backend\" for [OpenRPA](https://github.com/skadefro/OpenRPA)",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)