Hi,
Could you point me to a working example of a frontend (preferred minimal js, but anything react or anything would be fine) that:
- allow a “end user” to register using twitter/gmail or one of the oauth provider?
- create a user on the backend
- assign some role to the users
- allow the end user to login and get the right api access based on these?
I find either examples of registration with local auth, login with providers or very old/obsolete examples
Is there one that can follow? I am reluctant to re-invent the wheel and try to glue together the various examples, as it’s easy to weaken the security if you implement without having a full and complete picture