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

Support of authenticating an App Outside the User Context #8

Open
mtestrot opened this issue Jun 28, 2019 · 1 comment
Open

Support of authenticating an App Outside the User Context #8

mtestrot opened this issue Jun 28, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@mtestrot
Copy link
Member

Moved from d-velop/dvelop-app-template-go#4

To authenticate an App Outside the User Context, the new Feature of the Identityprovider is needed. Please Support the Apikey Functions.

https://developer.d-velop.de/documentation/dipa/de/d-ecs-identity-provider-api-125187928.html#section-5

@mtestrot
Copy link
Member Author

mtestrot commented Jun 28, 2019

@85LangA85 What do you think about the following solution

// AuthSessionIds will be cached internally. So subsequent requests for the same baseuri and Api-Key 
// won't require a call to the Idp if the AuthSessionId has not expired yet.
idp.AuthSessionFor ("https://myserver.invalid", "API_KEY")

@mtestrot mtestrot added the enhancement New feature or request label Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant