Lionel Bovy
Lionel Bovy
CC#
Created by Lionel Bovy on 12/2/2023 in #help
Serving static files via a Web API (REST)
Thank you very much for the message, I was not aware of this behavior. I also tried it and it works as expected. To answer the second part, I just wanted to make a folder where we could put user avatars and access them directly without having to create an additional endpoint.
4 replies
CC#
Created by Lionel Bovy on 10/21/2023 in #help
❔ OAuth (3-layer architecture app)
Okay, thanks! I can now see how I can achieve this, thank you a lot
22 replies
CC#
Created by Lionel Bovy on 10/21/2023 in #help
❔ OAuth (3-layer architecture app)
Okay, thank you a lot On the /login/google/success endpoint, I should return a Redirect to the homepage of my front end app, does that sounds right?
22 replies
CC#
Created by Lionel Bovy on 10/21/2023 in #help
❔ OAuth (3-layer architecture app)
So I just need to add a "link/button" on my front-end with a redirect_uri parameter that would redirect the user to /auth/external or /auth/google after the Google auth screen Then, I'd get a token from the query string that I should use to contact Google to asks info and then log in or register my user
22 replies
CC#
Created by Lionel Bovy on 10/21/2023 in #help
❔ OAuth (3-layer architecture app)
Sorry, I'm a bit tired 😆 I was specifying that I was using JWT Bearer Scheme
22 replies
CC#
Created by Lionel Bovy on 10/21/2023 in #help
❔ OAuth (3-layer architecture app)
Thanks for your reply. 🙏🏻 I'd like users to be able to authenticate via Google and for this to create a local Identity user (by extracting the last name, first name and email address from Google). If the account already exists, this would add the Google token to the AspNetUserLogins. Aussi, je n'utilise pas du tout les cookies mais un système d'authentification JWT
22 replies