okta-react
okta-react copied to clipboard
<SecureRoute render={() => 'derp'} /> always renders
okta-react v3.0.4
The following
<SecureRoute render={() => 'derp'} />
always renders the derp string and does not force the user to the okta sign-in page
where as
const DerpComponent = () => 'derp';
<SecureRoute component={DerpComponent} />
doesnt render the derp string and does redirect the user to the okta sign-in page
@nickanna42 I believe this issue was fixed in version 3.0.5
Thank you