Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 1f5164f

Browse files
committed
Allow redirect_uris to be in the configuration.
1 parent b162bc5 commit 1f5164f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/oidcrp/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -359,10 +359,11 @@ def client_setup(self, iss_id='', user=''):
359359
registration_type = _fe.registration_type
360360

361361
if registration_type == 'automatic':
362-
_redirect_uris = _sc.behaviour.get("redirect_uris")
362+
_redirect_uris = _sc.config.get("redirect_uris")
363363
if _redirect_uris:
364364
_sc.redirect_uris = _redirect_uris
365365
_sc.client_id = client.client_id = add_path(_fe.entity_id, iss_id)
366+
self.hash2issuer[iss_id] = issuer
366367
else:
367368
_callbacks = self.create_callbacks(_sc.provider_info['issuer'])
368369
_sc.redirect_uris = [

0 commit comments

Comments
 (0)