Skip to content

Commit 4a2b048

Browse files
committed
update samples port numbers
1 parent 25c2c66 commit 4a2b048

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

samples/VanillaJS/public/identityserver-sample.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ Oidc.Log.level = Oidc.Log.DEBUG;
3030
var settings = {
3131
authority: 'https://demo.identityserver.io/',
3232
client_id: 'implicit',
33-
redirect_uri: 'http://localhost:5000/identityserver-sample.html',
34-
post_logout_redirect_uri: 'http://localhost:5000/identityserver-sample.html',
33+
redirect_uri: 'http://localhost:15000/identityserver-sample.html',
34+
post_logout_redirect_uri: 'http://localhost:15000/identityserver-sample.html',
3535
response_type: 'id_token token',
3636
scope: 'openid profile email api',
3737

38-
popup_redirect_uri:'http://localhost:5000/identityserver-sample-popup-signin.html',
39-
popup_post_logout_redirect_uri:'http://localhost:5000/identityserver-sample-popup-signout.html',
38+
popup_redirect_uri:'http://localhost:15000/identityserver-sample-popup-signin.html',
39+
popup_post_logout_redirect_uri:'http://localhost:15000/identityserver-sample-popup-signout.html',
4040

41-
silent_redirect_uri:'http://localhost:5000/identityserver-sample-silent.html',
41+
silent_redirect_uri:'http://localhost:15000/identityserver-sample-silent.html',
4242
automaticSilentRenew:true,
4343
//silentRequestTimeout:10000,
4444

@@ -120,7 +120,7 @@ function endSigninMainWindow() {
120120
}
121121

122122
function startSigninMainWindowDiffCallbackPage() {
123-
mgr.signinRedirect({state:'some data', redirect_uri: 'http://localhost:5000/identityserver-sample-callback.html'}).then(function() {
123+
mgr.signinRedirect({state:'some data', redirect_uri: 'http://localhost:15000/identityserver-sample-callback.html'}).then(function() {
124124
log("signinRedirect done");
125125
}).catch(function(err) {
126126
log(err);

samples/VanillaJS/public/oidc-client-sample.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ Oidc.Log.logger = console;
1818
Oidc.Log.level = Oidc.Log.INFO;
1919

2020
var settings = {
21-
authority: 'http://localhost:5000/oidc',
21+
authority: 'http://localhost:15000/oidc',
2222
client_id: 'js.tokenmanager',
23-
redirect_uri: 'http://localhost:5000/oidc-client-sample.html',
24-
post_logout_redirect_uri: 'http://localhost:5000/oidc-client-sample.html',
23+
redirect_uri: 'http://localhost:15000/oidc-client-sample.html',
24+
post_logout_redirect_uri: 'http://localhost:15000/oidc-client-sample.html',
2525
response_type: 'id_token token',
2626
scope: 'openid email roles',
2727

@@ -55,7 +55,7 @@ function processSigninResponse() {
5555
}
5656

5757
function signinDifferentCallback(){
58-
client.createSigninRequest({ state: { bar: 15 }, redirect_uri: 'http://localhost:5000/oidc-client-sample-callback.html' }).then(function(req) {
58+
client.createSigninRequest({ state: { bar: 15 }, redirect_uri: 'http://localhost:15000/oidc-client-sample-callback.html' }).then(function(req) {
5959
log("signin request", req, "<a href='" + req.url + "'>go signin</a>");
6060
if (followLinks()) {
6161
window.location = req.url;

samples/VanillaJS/public/user-manager-sample.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ Oidc.Log.logger = console;
2727
Oidc.Log.level = Oidc.Log.WARN;
2828

2929
var settings = {
30-
authority: 'http://localhost:5000/oidc',
30+
authority: 'http://localhost:15000/oidc',
3131
client_id: 'js.tokenmanager',
32-
redirect_uri: 'http://localhost:5000/user-manager-sample.html',
33-
post_logout_redirect_uri: 'http://localhost:5000/user-manager-sample.html',
32+
redirect_uri: 'http://localhost:15000/user-manager-sample.html',
33+
post_logout_redirect_uri: 'http://localhost:15000/user-manager-sample.html',
3434
response_type: 'id_token token',
3535
scope: 'openid email roles',
3636

37-
popup_redirect_uri:'http://localhost:5000/user-manager-sample-popup-signin.html',
38-
popup_post_logout_redirect_uri:'http://localhost:5000/user-manager-sample-popup-signout.html',
37+
popup_redirect_uri:'http://localhost:15000/user-manager-sample-popup-signin.html',
38+
popup_post_logout_redirect_uri:'http://localhost:15000/user-manager-sample-popup-signout.html',
3939

40-
silent_redirect_uri:'http://localhost:5000/user-manager-sample-silent.html',
40+
silent_redirect_uri:'http://localhost:15000/user-manager-sample-silent.html',
4141
automaticSilentRenew:true,
4242
//silentRequestTimeout:10000,
4343

@@ -119,7 +119,7 @@ function endSigninMainWindow() {
119119
}
120120

121121
function startSigninMainWindowDiffCallbackPage() {
122-
mgr.signinRedirect({state:'some data', redirect_uri: 'http://localhost:5000/user-manager-sample-callback.html'}).then(function() {
122+
mgr.signinRedirect({state:'some data', redirect_uri: 'http://localhost:15000/user-manager-sample-callback.html'}).then(function() {
123123
log("signinRedirect done");
124124
}).catch(function(err) {
125125
log(err);

0 commit comments

Comments
 (0)