Hi. I am a new bee of Apex.
I have created a simple sign-up page where a new user can sign up and log in to the application. So when a user sign up he can login to the application. But then it shows an error that it's not authorized to view this application.
Then I need to log back to my main administrative account. From the Administration page in the User option, I need to add the name as a Username and put a role as Reader.
I have created a custom authentication Scheme using function so that anyone sign up can logging which I am using in this application. So please tell me sequentially how can I do it to set a new user role automatically as a reader.
It would be helpful if you write me sample function/procedure code with your suggestion. I have added some photos for better understanding. Thanks in advance.





#apex #useraccess #learn-apex