Skip to content

Allow CORS requests to token endpoint#15519

Merged
balloob merged 5 commits intodevfrom
token-cors
Jul 19, 2018
Merged

Allow CORS requests to token endpoint#15519
balloob merged 5 commits intodevfrom
token-cors

Conversation

@balloob
Copy link
Copy Markdown
Member

@balloob balloob commented Jul 17, 2018

Description:

This allows CORS requests to the token endpoint of the new auth system. This will make it possible for people to develop interfaces for Home Assistant and easily have users use them.

For an example of a custom interface foundation, see here

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@balloob
Copy link
Copy Markdown
Member Author

balloob commented Jul 18, 2018

If #15530 is merged first, this needs a rebase. Done

@balloob balloob merged commit 2a76a08 into dev Jul 19, 2018
@ghost ghost removed the in progress label Jul 19, 2018
@balloob balloob deleted the token-cors branch July 19, 2018 06:37
@balloob balloob added this to the 0.74 milestone Jul 19, 2018
balloob added a commit that referenced this pull request Jul 19, 2018
* Allow CORS requests to token endpoint

* Tests

* Fuck emulated hue

* Clean up

* Only cors existing methods
@balloob balloob mentioned this pull request Jul 20, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants