🚀 Feature: API to get current user's apps #194

Closed
opened 2025-10-07 00:05:34 +03:00 by OVERLORD · 2 comments
Owner

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.

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.
OVERLORD added the feature label 2025-10-07 00:05:34 +03:00
Author
Owner

@kmendell commented on GitHub:

This should be possible, without a API Key unless i am missing what you are asking for.

@kmendell commented on GitHub: This should be possible, without a API Key unless i am missing what you are asking for.
Author
Owner

@stonith404 commented on GitHub:

The endpoints have been added in d217083059 and will be available in the next release.

@stonith404 commented on GitHub: The endpoints have been added in d217083059120171d5c555b09eefe6ba3c8a8d42 and will be available in the next release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#194