rekit icon indicating copy to clipboard operation
rekit copied to clipboard

[Feature Request] - Federated Auth in an Example App

Open iandanforth opened this issue 6 years ago • 4 comments

Many apps will require their users to be authenticated. An example of how to add auth (e.g. google auth) to a rekit app would be an extremely useful addition to the example application.

iandanforth avatar Mar 27 '18 04:03 iandanforth

Thanks @iandanforth for the suggestion! Since now Rekit creates apps by create-react-app, many tutorial should apply to Rekit too, haha! I just found one https://medium.appbase.io/how-to-implement-authentication-for-your-react-app-cf09eef3bb0b or https://auth0.com/blog/reactjs-authentication-tutorial/ .

However, I agree providing an out of box sample will be much helpful. I definitely will add more when have time. Thanks!

supnate avatar Mar 27 '18 06:03 supnate

yes please , we been waiting for a new tutorial where alot of things will be used . to install material ui , Auth , create-react-app , router,...etc , covering as much as possbile from react redux in a simple small tutorial . we are waiting for such a tutorial . please make it

jihadismail8 avatar Apr 07 '18 23:04 jihadismail8

Are there general recommendations as to how to integrate an external auth solution in the meantime? What would the best practice be? For instance, if I'm using Okta's SDK and <SecureRoute> which is wrapped by react-router's <Route> would that go into App.js? Or should it go into Root.js?

chiester avatar Apr 08 '19 19:04 chiester

FYI, if anyone is asking the same question I asked above, you can find a pretty good approach at https://github.com/supnate/rekit/issues/115

chiester avatar Apr 08 '19 21:04 chiester