👽 Update openid-configuration due to Passport's changes

This commit is contained in:
LittleSheep 2024-08-12 21:17:40 +08:00
parent 52ebaa67a4
commit fda4e1a98a
3 changed files with 1 additions and 3 deletions

1
.env
View File

@ -1,5 +1,4 @@
NUXT_PUBLIC_SOLAR_REALM_ID=2 NUXT_PUBLIC_SOLAR_REALM_ID=2
NUXT_PUBLIC_SITE_URL=https://solsynth.dev NUXT_PUBLIC_SITE_URL=https://solsynth.dev
NUXT_PUBLIC_SOLARPASS_URL=https://id.solsynth.dev
NUXT_PUBLIC_SOLAR_NETWORK_API=https://api.sn.solsynth.dev NUXT_PUBLIC_SOLAR_NETWORK_API=https://api.sn.solsynth.dev
NUXT_PUBLIC_SOLIAN_URL=https://sn.solsynth.dev NUXT_PUBLIC_SOLIAN_URL=https://sn.solsynth.dev

View File

@ -19,7 +19,6 @@ export default defineNuxtConfig({
public: { public: {
siteUrl: "https://solsynth.dev", siteUrl: "https://solsynth.dev",
solarRealmId: 2, solarRealmId: 2,
solarpassUrl: "https://id.solsynth.dev",
solarNetworkApi: "https://api.sn.solsynth.dev", solarNetworkApi: "https://api.sn.solsynth.dev",
solianUrl: "https://sn.solsynth.dev", solianUrl: "https://sn.solsynth.dev",
}, },

View File

@ -11,7 +11,7 @@ export default defineEventHandler((event) => {
"id_token_signing_alg_values_supported": [ "id_token_signing_alg_values_supported": [
"HS512", "HS512",
], ],
"issuer": config.public.solarpassUrl, "issuer": config.public.siteUrl,
"response_types_supported": [ "response_types_supported": [
"code", "code",
"token", "token",