Added json changes and local storage

This commit is contained in:
Frikky
2024-05-17 00:59:28 +02:00
parent e364099ac1
commit 5f8f5ab224
12 changed files with 336 additions and 112 deletions
+10 -9
View File
@@ -2994,15 +2994,15 @@ const AppCreator = (defaultprops) => {
toast("Auth URL must start with http(s)://");
}
if (tmpstring.includes("?")) {
var newtmp = tmpstring.split("?")
if (tmpstring.length > 1) {
tmpstring = newtmp[0]
}
}
if (tmpstring.includes("?")) {
var newtmp = tmpstring.split("?")
if (tmpstring.length > 1) {
tmpstring = newtmp[0]
}
}
setParameterName(tmpstring)
}}
setParameterName(tmpstring)
}}
InputProps={{
classes: {
notchedOutline: classes.notchedOutline,
@@ -6054,10 +6054,11 @@ const AppCreator = (defaultprops) => {
<Select
fullWidth
onChange={(e) => {
setOauth2Type(e.target.value);
setOauth2Type(e.target.value)
if (e.target.value === "application" && oauth2GrantType === "") {
setOauth2GrantType("client_credentials")
setParameterName("")
}
if (e.target.value === "delegated") {