Closed frederikprijck closed 3 years ago
Added some tests @stevehobbsdev .
Thanks @frederikprijck! What about the case for when the requested Org ID doesn't match the one present in the ID token? We cover it in the implementation, just not in the test.
@stevehobbsdev Good call, updated.
This PR adds support for Organizations as well as User Invitation (even tho limited because of the nature of how User Invitations works currently and how that makes integrating it in Mobile and Desktop applications troublesome)
organization
andinvitation
parameters toLoginAsync
, this will send those parameters to the/authorize
endpoint. Note, we have no first-class supportorg_id
claim is validated, only when it was provided toLoginAsync
.org_id
claim is parsed and made available as part ofUser.Claims