From 7c09138ef7facc46c08206542bd1e1fdb3f69a3e Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 28 Jul 2024 22:30:51 +0800 Subject: [PATCH] :sparkles: Present nonce in id token --- .../74bcf3ef-a2b9-435b-b9e5-f32902a33b25.xml | 18 ++++++++--- .../schema/public.abK9xQ.meta | 2 +- .idea/workspace.xml | 5 ++- pkg/internal/models/auth.go | 1 + pkg/internal/server/api/oauth_api.go | 6 +++- pkg/internal/services/jwt.go | 7 ++++- pkg/internal/services/ticket.go | 7 ++++- pkg/internal/services/ticket_token.go | 6 ++-- web/src/views/auth/authorize.vue | 31 +++++++------------ 9 files changed, 51 insertions(+), 32 deletions(-) diff --git a/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25.xml b/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25.xml index 197b093..e7c8c61 100644 --- a/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25.xml +++ b/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25.xml @@ -3,9 +3,17 @@ mdy - 10192 + 1||-9223372036854775808|c|G +1||10|c|G +1||10|C|G +1||10|T|G +4||-9223372036854775808|c|G +4||10|c|G +4||10|C|G +4||10|T|G + 10209 16.3 - 1721488981 + 1722154972 true ACDT true ACSST false ACST @@ -800,7 +808,7 @@ false Zulu 13474||10|C|G 13474||-9223372036854775808|U|G 13474||10|U|G - 10192 + 10209 37312 postgres @@ -4241,8 +4249,8 @@ false Zulu standard public schema 1 - 10192 - 2024-07-24.08:06:15 + 10209 + 2024-07-28.12:55:20 2200 523 pg_database_owner diff --git a/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25/storage_v2/_src_/database/hy_passport.gNOKQQ/schema/public.abK9xQ.meta b/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25/storage_v2/_src_/database/hy_passport.gNOKQQ/schema/public.abK9xQ.meta index b6a23bb..547df85 100644 --- a/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25/storage_v2/_src_/database/hy_passport.gNOKQQ/schema/public.abK9xQ.meta +++ b/.idea/dataSources/74bcf3ef-a2b9-435b-b9e5-f32902a33b25/storage_v2/_src_/database/hy_passport.gNOKQQ/schema/public.abK9xQ.meta @@ -1,2 +1,2 @@ #n:public -! [10192, 0, null, null, -2147483648, -2147483648] +! [10209, 0, null, null, -2147483648, -2147483648] diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f21eba0..3be5472 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,10 @@