none
mrsdeploy - usage without authentication RRS feed

  • Question

  • I wan't to publish a R-Service without the need to login for the enduser.

    So the login method for the usage is not necessary and Bearer Token will not expire.

    Is it possible to use a mrsdeploy Service without Token?

    Thanks.

    Monday, June 4, 2018 9:37 AM

All replies

  • All APIs of Machine Learning Server have to be authenticated, meaning a valid bearer token has to be passed in the header. This is by design due to security concerns. You can get the token from calling login or getting it directly from AAD.

    If you want to mask authentication from your user then you can implement code that gets the token and refreshes it periodically for the put of the box admin account. You can either implement this code in R or in any other language by interacting directly with the server's authentication APIs:

    https://microsoft.github.io/deployr-api-docs/#authentication-apis 

    Monday, June 4, 2018 6:04 PM