edgexfoundry / security-api-gateway

Owner: Security WG
Apache License 2.0
11 stars 10 forks source link

Messages reference JWT when OAuth2 tokens are being used #42

Closed anonymouse64 closed 5 years ago

anonymouse64 commented 5 years ago

This may be a misunderstanding on my part, but when choosing to use OAuth2 tokens, JWT shouldn't be used at all, but the messages here:

https://github.com/edgexfoundry/security-api-gateway/blob/a1603d1c9a577cf3e8018701906c3cb1a7d5a40d/core/accounts.go#L181

and here:

https://github.com/edgexfoundry/security-api-gateway/blob/a1603d1c9a577cf3e8018701906c3cb1a7d5a40d/core/accounts.go#L185

still reference JWT.

tingyuz commented 5 years ago

The log should change from JWT to bearer token. This will be addressed in the Delhi dot release.

tingyuz commented 5 years ago

addressed in PR #47.