-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Open
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuearea-securityre-Safia@captainsafia must review@captainsafia must review
Description
It would great to follow through on the example of adding date of birth to the retrieved claims using the additional scope: https://www.googleapis.com/auth/user.birthday.read. I can't see how I can retrieve this without adding the Google API client to my project and accessing the Person API directly. This seems excessive given the Microsoft.AspNetCore.Authentication.Google client has already authenticated - there doesn't seem to be a route to leverage that authentication for additional requests either.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 64faf33b-2511-5e8f-c1b0-94f32dc07fa4
- Version Independent ID: 2697abc8-7727-2eba-74a5-fbbc8a7c80ff
- Content: Persist additional claims and tokens from external providers in ASP.NET Core
- Content Source: aspnetcore/security/authentication/social/additional-claims.md
- Product: aspnet-core
- Technology: aspnetcore-security
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuearea-securityre-Safia@captainsafia must review@captainsafia must review