chamilad/telm

Implement oauth2 login for the registry API

Opened this issue · 0 comments

https://www.terraform.io/docs/internals/login-protocol.html

If enabled

  1. unauthenticated API endpoints will return a WWW-Authenticate header https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate
  2. Remote Discovery will return the correct login.v1 endpoint