Skip to content

Commit e40321e

Browse files
committed
Add a TODO note for future
1 parent 2b2f0a5 commit e40321e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fastapi_oauth2/core.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ async def token_redirect(self, request: Request) -> RedirectResponse:
127127
return response
128128

129129
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
130133
data["identity"] = "%s:%s" % (self.provider, data.get("id"))
131134
data["display_name"] = data.get("name")
132135
return data

0 commit comments

Comments
 (0)