-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate Custom Authentication Endpoints with Frontend #22
Comments
Actually, after signing-in all whatever endpoint is called it signs the user in. Probably because of cookie although I see no cookies. 🤔 |
You don't see any cookies? How are you looking for them? Gitea generally sets three cookies: |
From the cookies tab in insomnia. I'll switch back to Postman.
…On Wed, Aug 26, 2020, 3:38 PM Kaspar Emanuel ***@***.***> wrote:
You don't see any cookies? How are you looking for them? Gitea generally
sets three cookies: i_like_gitea, _csrf and lang. I (can see them e.g. on
https://staging.kitspace.org).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI3OMSMNRQKOYXRBLQLW4VTSCUF4TANCNFSM4QLZJVRA>
.
|
Can you address those? Do you have a design in your mind? |
I think it can work like this: we POST
The user now has the session cookie and is authenticated on both I do feel it's getting a bit complicated by developing our own endpoints, that wasn't in the original plan. Let's discuss on a call later. |
This is part of #6. The authentication flow should be more clear to solve the problems that originated from this commit.
The text was updated successfully, but these errors were encountered: