Skip to content

Commit ba3c121

Browse files
committed
Fix token type
1 parent 89442c0 commit ba3c121

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cadet/auth/providers/openid/nus_entra_id_claim_extractor.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ defmodule Cadet.Auth.Providers.NusEntraIdClaimExtractor do
1919
get_userinfo(access_token, "displayName")
2020
end
2121

22-
def get_token_type, do: "access_token"
22+
def get_token_type, do: "id_token"
2323

2424
# Allowed Active Directory (AD) domains; modify as needed
2525
@allowed_domains ~w(student alum staff)

0 commit comments

Comments
 (0)