5464e550e7
chore: lib/auth/utils.ts: Replace deprecated url.resolve, use async/await
...
Change-type: patch
2022-01-19 22:48:46 +00:00
09d004423c
Bump 'balena-lint' and fix 'no-floating-promises' warnings
...
Change-type: patch
2021-11-26 15:59:33 +00:00
cfd790a193
Update 'devDependencies' in package.json
...
Change-type: patch
2021-07-09 21:34:09 +01:00
478b5dd363
Revert styling of "balena CLI" as "balenaCLI"
...
Change-type: patch
2020-10-21 00:07:46 +01:00
b1897a512d
Style "balena CLI" as "balenaCLI" and "balena cloud" as "balenaCloud"
...
Change-type: patch
2020-09-18 23:27:24 +01:00
e021ad9af6
Update balena-sdk to 15.x
...
Update balena-config-json from 4.0.0 to 4.1.0
Update balena-image-manager from 7.0.1 to 7.0.3
Update balena-preload from 10.2.0 to 10.2.4
Update balena-sdk from 14.8.0 to 15.2.1
Update balena-sync from 11.0.0 to 11.0.2
Change-type: patch
2020-08-11 17:53:33 +01:00
cf894d98a5
login: Use any free port number instead of 8989 for web authentication
...
Change-type: minor
2020-08-03 20:26:10 +01:00
9aacb7ec56
Remove some bluebird usage
...
Change-type: patch
2020-07-31 10:33:51 +00:00
303c3af061
Switch from Bluebird.join to native version
...
Change-type: patch
2020-06-30 23:59:18 +01:00
984d1a3fd6
Switch from new Bluebird to native version
...
Change-type: patch
2020-06-30 23:59:17 +01:00
1308b64c67
Recategorize some errors as expected.
...
Change-type: patch
Signed-off-by: Scott Lowe <scott@balena.io >
2020-06-26 13:57:39 +02:00
03eed32f12
Simplify some exports
...
Change-type: patch
2020-06-24 15:23:53 +00:00
6dce5c1212
Use import type
where possible to explicitly import only type info
...
Change-type: patch
2020-06-24 13:46:27 +00:00
420a282bea
Standardize all references to Bluebird
...
Change-type: patch
2020-06-24 12:38:09 +00:00
c619bd4b99
Update 'balena-lint' and apply new prettier rules
...
Change-type: patch
2020-06-15 23:53:07 +01:00
3bb5e495a6
Fix 'balena login' web authorization hanging with Google Chrome
...
Resolves : #1404
Change-type: patch
2020-05-16 23:32:07 +01:00
803a9070fd
Update web page wording for 'balena login' web authorization
...
Resolves : #1710
Change-type: patch
2020-05-16 00:01:09 +01:00
eac6bb5e5c
Simplify lazy-loading of balena-sdk by utilizing a shared function
...
This also avoids instantiating multiple balena-sdk
Change-type: patch
2020-02-27 17:17:36 +00:00
2b04763ac0
Convert lib/auth/index to typescript
...
Change-type: patch
2020-02-12 13:20:36 +00:00
93ba5832d8
Convert lib/auth/server to typescript
...
Change-type: patch
2020-02-12 12:10:12 +00:00
4de41ce3e0
Convert lib/auth/utils to typescript
...
Change-type: patch
2020-02-10 13:42:50 +00:00
3f84045127
Switch from opn to its new name of open
...
Change-type: patch
2020-02-06 19:55:22 +00:00
4907fccf48
Rename everything from 'resin' to 'balena'
...
Change-type: major
2018-10-29 22:29:02 +01:00
ce64889b04
Clarify isTokenValid logic
2018-03-29 11:11:25 +02:00
12a1916007
Allow (experimental!) login with API keys
...
Change-Type: minor
2018-03-29 11:11:25 +02:00
163684e3a9
Update dashboard login to use the multicontainer SDK
...
Change-Type: patch
2018-03-07 14:46:35 +00:00
d8aabfd448
Ensure login does not wait for the browser process to close
...
Unclear why, but for some reason this only actually blocked on the
browser on OSX.
Connects-To: #791
Change-Type: patch
2018-02-16 17:28:19 +01:00
dba8db19cb
Move from open to opn
...
Change-Type: patch
2017-12-18 14:55:07 +01:00
001c8f9601
Inline the entire resin-cli-auth module
...
This is part of a general push to demodularize any code that isn't
realistically reusable outside resin-cli, to make the codebase easier to
manage and understand. Once this is done, we'll deprecate the original
module itself.
Change-Type: patch
2017-11-27 12:02:57 +02:00
ff07764b39
Move auth to resin module
2014-11-26 13:02:22 -04:00
64cb1520f6
Move data to resin module
2014-11-26 12:56:52 -04:00
1736d8a759
Move token to resin module
2014-11-26 12:42:10 -04:00
698ddd168c
Move server to resin module
2014-11-26 12:07:10 -04:00
a6099b227b
Require internet connection before attempting to use server module
2014-11-25 09:02:50 -04:00
53c25412c3
Make auth.parseCredentials async
2014-11-18 12:11:20 -04:00
2fd2b702ae
Rename config.baseUrl to config.remoteUrl
2014-11-18 08:53:07 -04:00
c753e1b41b
Move auth outside of cli-modules
2014-11-18 08:34:40 -04:00