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

Logout with oauth request #15937

Open
2 tasks done
ArmNem opened this issue Dec 9, 2024 · 2 comments
Open
2 tasks done

Logout with oauth request #15937

ArmNem opened this issue Dec 9, 2024 · 2 comments

Comments

@ArmNem
Copy link

ArmNem commented Dec 9, 2024

Debug mode

Describe the bug

We set up snipe-it with saml keycloak auth. It works fine.
We made a custom react frontend application where we use snipe-it's api.
We use oauth between snipe-it and our app.
We have a problem with logging the user out with oauth.
We did not find any suitable documentation for it with possible endpoints.

Reproduction steps

1.Delete: /oauth/tokens/{tokenid} -> 405 method not allowed
2.
3.
...

Expected behavior

Documentation for oauth.

Screenshots

No response

Snipe-IT Version

7.1.15

Operating System

docker

Web Server

docker

PHP Version

8.1.2

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

Copy link

welcome bot commented Dec 9, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@tokapatrik
Copy link

I ran into the same problem, but could not find a solution. It would be useful if the documentation included a description for oauth. It is difficult if you can only work from the output of the php artisan route:list command.
I think the /oauth/tokens/{tokenid} endpoint is not configured correctly.

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

No branches or pull requests

2 participants