We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b2f0a5 commit e40321eCopy full SHA for e40321e
src/fastapi_oauth2/core.py
@@ -127,6 +127,9 @@ async def token_redirect(self, request: Request) -> RedirectResponse:
127
return response
128
129
def standardize(self, data: Dict[str, Any]) -> Dict[str, Any]:
130
+ # TODO: Create an issue for collecting all possible field names
131
+ # and finish up this method and create a unit-test for each.
132
+ # :https://github.com/python-social-auth/social-core/tree/master/social_core/backends
133
data["identity"] = "%s:%s" % (self.provider, data.get("id"))
134
data["display_name"] = data.get("name")
135
return data
0 commit comments