🐛 Bug fix of bugs
This commit is contained in:
parent
8d2eae4c9e
commit
7bdafe246f
@ -21,8 +21,8 @@ func getOidcConfiguration(c *fiber.Ctx) error {
|
|||||||
|
|
||||||
return c.JSON(fiber.Map{
|
return c.JSON(fiber.Map{
|
||||||
"issuer": basepath,
|
"issuer": basepath,
|
||||||
"authorization_endpoint": fmt.Sprintf("%s/authMiddleware/o/connect", basepath),
|
"authorization_endpoint": fmt.Sprintf("%s/auth/o/connect", basepath),
|
||||||
"token_endpoint": fmt.Sprintf("%s/api/authMiddleware/token", basepath),
|
"token_endpoint": fmt.Sprintf("%s/api/auth/token", basepath),
|
||||||
"userinfo_endpoint": fmt.Sprintf("%s/api/users/me", basepath),
|
"userinfo_endpoint": fmt.Sprintf("%s/api/users/me", basepath),
|
||||||
"response_types_supported": []string{"code", "token"},
|
"response_types_supported": []string{"code", "token"},
|
||||||
"grant_types_supported": []string{"authorization_code", "implicit", "refresh_token"},
|
"grant_types_supported": []string{"authorization_code", "implicit", "refresh_token"},
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import Navigatior from "./shared/Navigatior.tsx";
|
import Navigator from "./shared/Navigator.tsx";
|
||||||
import { readProfiles, useUserinfo } from "../stores/userinfo.tsx";
|
import { readProfiles, useUserinfo } from "../stores/userinfo.tsx";
|
||||||
import { createEffect, createMemo, createSignal, Show } from "solid-js";
|
import { createEffect, createMemo, createSignal, Show } from "solid-js";
|
||||||
import { readWellKnown } from "../stores/wellKnown.tsx";
|
import { readWellKnown } from "../stores/wellKnown.tsx";
|
||||||
@ -52,7 +52,7 @@ export default function RootLayout(props: any) {
|
|||||||
</div>
|
</div>
|
||||||
}>
|
}>
|
||||||
<Show when={!searchParams["embedded"]}>
|
<Show when={!searchParams["embedded"]}>
|
||||||
<Navigatior />
|
<Navigator />
|
||||||
</Show>
|
</Show>
|
||||||
|
|
||||||
<main class={`${mainContentStyles()} px-5`}>{props.children}</main>
|
<main class={`${mainContentStyles()} px-5`}>{props.children}</main>
|
||||||
|
@ -8,7 +8,7 @@ interface MenuItem {
|
|||||||
children?: MenuItem[];
|
children?: MenuItem[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function Navigatior() {
|
export default function Navigator() {
|
||||||
const nav: MenuItem[] = [
|
const nav: MenuItem[] = [
|
||||||
{
|
{
|
||||||
label: "You", children: [
|
label: "You", children: [
|
Loading…
Reference in New Issue
Block a user