Skip to content

Commit

Permalink
correctly set access token values
Browse files Browse the repository at this point in the history
  • Loading branch information
lus committed Jul 28, 2024
1 parent f5b7543 commit 1d35105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/kratos/identity_schema_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func ExtractSessionValues(ctx context.Context, client *oryKratos.APIClient, scop
// If the schema defines a key for the trait for the access token, add it to the session
accessTokenPath, ok := extractNestedValue[string](values, static.KratosIdentitySchemaExtensionKey+".session_data.access_token_key")
if ok {
idTokenValues[accessTokenPath] = traitValue
accessTokenValues[accessTokenPath] = traitValue
}
}

Expand Down

0 comments on commit 1d35105

Please sign in to comment.