0001-auth_fc-store-id_token-in-session-when-linking-69989.patch
src/authentic2_auth_fc/views.py | ||
---|---|---|
334 | 334 | |
335 | 335 |
def link(self, request): |
336 | 336 |
'''Request an access grant code and associate it to the current user''' |
337 |
# keep id_token around for logout |
|
338 |
request.session['fc_id_token'] = self.id_token |
|
339 |
request.session['fc_id_token_raw'] = self.token['id_token'] |
|
340 | ||
337 | 341 |
try: |
338 | 342 |
self.fc_account, created = models.FcAccount.objects.get_or_create( |
339 | 343 |
sub=self.sub, |
340 |
- |