mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-04 09:10:48 +02:00
fix(security): validate extension callback state
This commit is contained in:
@@ -12,7 +12,7 @@ class RunnerTests: XCTestCase {
|
||||
route,
|
||||
ExtensionCallbackRoute(
|
||||
code: "auth-code",
|
||||
extensionId: "spotify-web",
|
||||
state: "spotify-web",
|
||||
isSessionGrant: false
|
||||
)
|
||||
)
|
||||
@@ -30,7 +30,7 @@ class RunnerTests: XCTestCase {
|
||||
route,
|
||||
ExtensionCallbackRoute(
|
||||
code: "session-token",
|
||||
extensionId: "provider",
|
||||
state: "provider",
|
||||
isSessionGrant: true
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user