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

API tokens bugs #25

Open
2 of 5 tasks
rakshith-ravi opened this issue Aug 22, 2024 · 1 comment
Open
2 of 5 tasks

API tokens bugs #25

rakshith-ravi opened this issue Aug 22, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rakshith-ravi
Copy link
Contributor

rakshith-ravi commented Aug 22, 2024

Sample cURL request:

❯ curl 'http://localhost:3000/api/user/api-token/update' \
-X 'POST' \
-H 'Accept: application/json' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Referer: http://localhost:3000/user/api-tokens/5baf31f1c82f4be5bd9df31aa8c3dab5?token_name=Default+token&token_nbf=&token_exp=' \
-H 'Origin: http://localhost:3000' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
--data 'access_token=asdf&token_id=5baf31f1c82f4be5bd9df31aa8c3dab5&token_name=Default+token&token_exp=&token_nbf=&permissions[7674243c2a5d47b19bfd9376e217168a][type]=superAdmin'
Args|invalid digit found in string
@rakshith-ravi rakshith-ravi added the bug Something isn't working label Aug 22, 2024
@rakshith-ravi rakshith-ravi added this to the 0.18 milestone Aug 22, 2024
@argha-dot
Copy link
Collaborator

Can this issue be edited to add one more sub-issue?
The copy button when an API token is created is not functioning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants