mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Allow multiple redirect urls
This commit is contained in:
parent
7d2667ebb2
commit
2dbefdbfb8
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using IdentityServer4;
|
using IdentityServer4;
|
||||||
using IdentityServer4.Models;
|
using IdentityServer4.Models;
|
||||||
|
|
||||||
|
@ -20,7 +22,7 @@ namespace SteamOpenIdConnectProvider
|
||||||
},
|
},
|
||||||
|
|
||||||
// where to redirect to after login
|
// where to redirect to after login
|
||||||
RedirectUris = { redirectUri },
|
RedirectUris = redirectUri.Split(",").Select(x => x.Trim()).ToArray(),
|
||||||
|
|
||||||
// where to redirect to after logout
|
// where to redirect to after logout
|
||||||
PostLogoutRedirectUris = { logoutRedirectUri },
|
PostLogoutRedirectUris = { logoutRedirectUri },
|
||||||
|
|
Loading…
Reference in a new issue