Skip to content

Commit 23bc280

Browse files
committed
fix(saml): add a noop refresh_identity method
There's nothing to do here since this managed by the IdP, so we noop the method to avoid raising a NotImplementedError Fixes SENTRY-4BF
1 parent 9cb7b58 commit 23bc280

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sentry/auth/providers/saml2.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,3 +281,7 @@ def extract_parsed_data_from_idp_data(data):
281281
if 'idp_x509cert' in data['idp']:
282282
parsed_data['x509cert'] = data['idp']['idp_x509cert']
283283
return parsed_data
284+
285+
def refresh_identity(self, auth_identity):
286+
# Nothing to refresh
287+
return

0 commit comments

Comments
 (0)