You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a new IdP feels more cumbersome now we have identity linking (maybe it's always been somewhat cumbersome).
The new IdP has to be added in three place.
MyConfig1.php to enable GOCDB to resolve the info the new IdP gives it into an ID String
A mapping of AuthTokens to authentication realms hardcoded in the User Service.
In the PI code in order to expose the new ID Strings to the outside world.
I think point 2 can be addressed with some refactoring of the AuthTokens, such that one AuthToken class corresponds to one IdP. Though this is probably best attempted once we have dropped shibboleth support and only support OIDC. One AuthToken can then correspond to one authentication realm and the getAuthTypes could loop through $myConfig1->getAuthTokenClassList(); to determine a list of possible auth types - similar to what it does now, but without the need for the hardcoded mapping in this file (pushing it into the tokens - which feels like a better place for it).
I think point 3 could be solved in a similar way, by referencing $myConfig1->getAuthTokenClassList(); and a mapping in the token itself between AuthToken and API XML tag.
The text was updated successfully, but these errors were encountered:
it seems a bit lazy to go to the trouble of creating unique, name-spaced authentication class identifiers and then just check the short substrings Shib, X509 and IAM.
Adding a new IdP feels more cumbersome now we have identity linking (maybe it's always been somewhat cumbersome).
The new IdP has to be added in three place.
MyConfig1.php
to enable GOCDB to resolve the info the new IdP gives it into an ID StringI think point 2 can be addressed with some refactoring of the AuthTokens, such that one AuthToken class corresponds to one IdP. Though this is probably best attempted once we have dropped shibboleth support and only support OIDC. One AuthToken can then correspond to one authentication realm and the
getAuthTypes
could loop through$myConfig1->getAuthTokenClassList();
to determine a list of possible auth types - similar to what it does now, but without the need for the hardcoded mapping in this file (pushing it into the tokens - which feels like a better place for it).I think point 3 could be solved in a similar way, by referencing
$myConfig1->getAuthTokenClassList();
and a mapping in the token itself between AuthToken and API XML tag.The text was updated successfully, but these errors were encountered: