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

Question: how can I programmaticaly create shared-access tokens ? #23

Closed
Groliver7 opened this issue Sep 15, 2020 · 2 comments
Closed

Comments

@Groliver7
Copy link

Groliver7 commented Sep 15, 2020

I would like to create a pryv token from my Nodejs app, is it possible? I am using this web app http://pryv.github.io/app-web-access/?pryvServiceInfoUrl={URL} to create my admin user (with manage level permissions) and I would like to give users shared accesses to different endpoints of my instance.

To be clear, it is the 'Share a slice' feature on the dashboard. Is there a way to directly write it in javascript?

Thank you very much!

@perki
Copy link
Member

perki commented Sep 15, 2020

Hello,

You can create shared access with an "app" access with accesses.create call.

https://api.pryv.com/reference/#create-access

For further guidance, we could set up a quick chat or call. You can get in touch with support@pryv.com

Best regards,
Pierre-Mikael

@Groliver7
Copy link
Author

Again thank you very much for the prompt reply, will do so if needed!

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