Browse Source
Merge pull request #334 from pushrbx/patch-2
Additional character for client part separation.
pull/336/head
Sebastian Stehle
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Squidex/Pipeline/Extensions.cs
|
|
|
@ -22,7 +22,7 @@ namespace Squidex.Pipeline |
|
|
|
{ |
|
|
|
var clientId = principal.FindFirst(OpenIdClaims.ClientId)?.Value; |
|
|
|
|
|
|
|
var clientIdParts = clientId?.Split(':'); |
|
|
|
var clientIdParts = clientId?.Split(':', '~'); |
|
|
|
|
|
|
|
if (clientIdParts?.Length != 2) |
|
|
|
{ |
|
|
|
|