Project

General

Profile

Feature #27961

Authenticate API calls using authorization token header

Added by Erin Clark about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
Expected
Assignee:
Vladimir Vinogradenko
Category:
Middleware
Target version:
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

As we discussed the only way currently to use token authentication with rest calls is to do a call to /legacy/account/login and get the cookie. The preferred way to do this would be to have a header in the rest method that allows passing the token to the rest calls themselves for authentication.


Related issues

Blocks FreeNAS - Bug #27817: Root login doesn't require password on new UIDone2018-01-16

Associated revisions

Revision ed50dd8c (diff)
Added by Vladimir Vinogradenko about 1 year ago

feat(gui): Authenticate API calls using Authorization: Token header

Ticket: #27961

History

#1 Updated by Erin Clark about 1 year ago

  • Blocks Bug #27817: Root login doesn't require password on new UI added

#2 Updated by Vladimir Vinogradenko about 1 year ago

  • Status changed from Not Started to Done

Done.

Authenticate with Authorization: Token e01a2dc9-71f8-47c1-b2c6-26e49de98772 header

#3 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Need auth type header for rest calls that accepts a token from the middleware to Authenticate API calls using Authorization: Token header
  • Needs Merging changed from Yes to No

#4 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#5 Updated by William Grzybowski 10 months ago

  • Severity set to New
  • Needs QA changed from Yes to No

#6 Updated by Dru Lavigne 10 months ago

  • Status changed from Ready for Testing to Done

#7 Updated by Dru Lavigne 10 months ago

#8 Updated by Dru Lavigne 10 months ago

  • Subject changed from Authenticate API calls using Authorization: Token header to Authenticate API calls using authorization token header

Also available in: Atom PDF