Build an API in Rust with JWT Authentication using actix-web

Hi @kent.daleng thanks for pointing that out. You are right that the given example will not work since the URL is wrongly generated. I tested using an actual tenant but forgot the trailing slash while publishing. Here is what we will change in the blog post:

  1. Rename DOMAIN to AUTHORITY
  2. Put a trailing slash in the .env file
  3. Clarify that the trailing slash is required in this case
2 Likes