Skip to content
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

Wanna new server api handler /api/v1/auth/session #16

Closed
sea-kg opened this issue Jun 18, 2024 · 4 comments
Closed

Wanna new server api handler /api/v1/auth/session #16

sea-kg opened this issue Jun 18, 2024 · 4 comments
Assignees
Labels
server-api Issues for server api

Comments

@sea-kg
Copy link
Owner

sea-kg commented Jun 18, 2024

Wanna new handler /api/auth/session - validation current session.

  1. Valid or not current session
  2. Return current role of user.

It need for a UI - show/hide signin button ant another functions

@sea-kg sea-kg added the server-api Issues for server api label Jun 18, 2024
@sea-kg sea-kg changed the title Wanna new handler /api/v1/auth/session Wanna new server api handler /api/v1/auth/session Jun 18, 2024
@IgorPolyakov
Copy link
Collaborator

Response will be like that
изображение

UI is -
изображение

@IgorPolyakov
Copy link
Collaborator

Ok?

@sea-kg
Copy link
Owner Author

sea-kg commented Jun 19, 2024

Ok?

Yes) tnx!

IgorPolyakov added a commit that referenced this issue Jun 19, 2024
@IgorPolyakov
Copy link
Collaborator

done in #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server-api Issues for server api
Projects
None yet
Development

No branches or pull requests

2 participants