okta-react icon indicating copy to clipboard operation
okta-react copied to clipboard

<SecureRoute render={() => 'derp'} /> always renders

Open nickanna42 opened this issue 6 years ago • 2 comments

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 avatar Oct 29 '20 23:10 nickanna42

@nickanna42 I believe this issue was fixed in version 3.0.5

aarongranick-okta avatar Oct 29 '20 23:10 aarongranick-okta

Thank you

nickanna42 avatar Oct 29 '20 23:10 nickanna42