sources/oauth: add initial okta type

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1910
This commit is contained in:
Jens Langhammer
2021-12-13 21:44:37 +01:00
parent 70316b37da
commit 4911a243ff
6 changed files with 95 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export function configureSentry(canDoPpi: boolean = false): Promise<Config> {
if (window.location.pathname.includes("if/")) {
// Get the interface name from URL
const pathMatches = window.location.pathname.match(/.+if\/(\w+)\//);
let currentInterface = "unkown";
let currentInterface = "unknown";
if (pathMatches && pathMatches.length >= 2) {
currentInterface = pathMatches[1];
}