Lionel Bovy
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
❔ 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
❔ 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