How do i can sign access token in my auth0 rule?
In my auth0 rule im checking if the user is first time user and if true im redirecting him to my angular /redirect endpoint.
In /redirect endpoint user can fill some additional fields and then im making api request to my spring backend and placing this user in my custom DB.
The problem is that everyone can just place that url (‘mydomain.com/register’) in his browser and fill some fields. I need some kind of access token which my backend could verify. In rs256.
My second question is what can be a private or public key?