'How to implement Passport-saml with react-admin

I have a existing reactJS project which is using react-admin package. I want to integrate passport-saml to validate via any service provider. but didn't find a way to do initialize and create session for passport.

Is there any way to redirect from react page to service provider using authProvider of react-admin ? and callback to reactJS again.

react-admin ref. => https://marmelab.com/react-admin/Tutorial.html

and for passport-saml - https://github.com/node-saml/passport-saml



Solution 1:[1]

I guess you can use

self.GetSizer()

to get the sizer. Then you should be able to add things to the sizer.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Petr Blahos