Xano, Auth0, Toddle Stack for authentication. How does it work?
Hi everyone ! I am trying to get the above stack to work , have the first step done , but have no clue how to proceed . This is my first time doing actual authentication , so please bear with me . Everything is set up on the Xano and auth0 side (I think ) With the click on a button I am opening the login page of auth0 and can successfully register or log in . The problem I have is now that I am getting sent back to the specified redirect _uri and have no clue what to do actually . I can see the that URL has now ?code =XYZ attached , but I am not sure how to handle the rest and how to make the rest react or set the access token and most of all , how to make sure that there is a user attached in my xano database . I know that there are two API endpoints in Xano . Init and continue . So I assume I will have to work now with the continue ? I am bot sure it is worth it though It 's pretty much just the lack of knowledge from my side how the process itself works . I am learning step by step at the moment and am getting closer on having it working (conceptually ) Currently stuck at trying to figure out how I parse the query parameter "code " from the URL after I am getting redirected back to the toddle site for the 2nd step . 1 . Step is triggering the auth0 login /signup . This sends me then back to the toddle site with the "code " attached to the url 2 . Step is taking the code , sending it then back to auth0 (xano api ) , which then finally sends over the token . @Andreas Møller Is there any literature on how to get user specific data from Xano ? I am a bit lost with using the authorization token then to determine the current user . Auth0 is sending name , email and auth token over . The token is stored as session cookie . Not sure if I have to store anything further for the session to be used in api calls as params or whether I can utilize the existing session cookie for that Yeah , I am pretty much fed up by now of the whole ordeal and will probably revert to the standard Xano method , where you have the tutorials for . As I said , it 's probably a lack of knowledge on my part regarding the inner workings of Oauth in general , so making small steps and focussing on the core features of the app will be better for now .
.jpeg/public)