Skip to content
TORNLIFE More

swagger site overwrite

Started by Eloazy [3028393] on in Bugs & Issues.

2 replies · 43 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 3 / 3 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
3
Discussion span
→
People posting
3
Likes on archived posts
2
Posts by staff, officers and moderators
2
Authority score
56 / 100
Historical score
36 / 100
Story score
36 / 100
Engagement score
43 / 100

Most-liked replies

Eloazy [3028393]

The global authorize function overrides the local authorize functions.



public in global:


full in local

result:

revive_settings: unknown

removing global one...

"no one" appears

In a fetch request with headers, the authentication added to the URL is overwritten by the header. In Swagger, for testing purposes, it might be a good idea to prioritize local keys over global ones.

One suggestion would be for it to test if you have a key on local and overwrite the header.


thx for read

CloudJumper [1636201]Staff

I don't know if this is something that we can even solve. Passing along to Mauro for checking. Thanks..!!

splent [2088243] Admin Staff

Hey, 

 

I believe this should be fixed now - the global key should be removed if local key is used now.

 

But please let me know if you notice something not working as expected.


Thanks!