mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-06 09:13:19 +03:00
🚀 Feature: API to get current user's apps #194
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nicolerenee on GitHub.
Feature description
I would like there to be an API endpoint where a user can request a list of applications they have access to. This would include apps their user groups have access to as well as apps that are unrestricted.
Pitch
I'd like to be able to have a portal similar to pocket-id/pocket-id-portal that allows a user to see all the applications they have access to and allow the user to go to the apps. I'd like to be blessed to do this without needing to provide an API key from an admin user to the portal and instead be able to do it as the user directly. This also keeps all the logic about what apps a user has within pocket-id itself instead of duplicating that into the portal like pocket-id-portal has.
In an ideal world, I'd love if pocket-id itself to provide a page for users that just showed the application and name as a link similar to what Okta and other tools have, but I have seen in previous issues that it is out of scope for the main codebase. So hoping to at least get an API endpoint that will make this easier.
@kmendell commented on GitHub:
This should be possible, without a API Key unless i am missing what you are asking for.
@stonith404 commented on GitHub:
The endpoints have been added in
d217083059and will be available in the next release.