golf1052 / SeattleCarsInBikeLanes

A website displaying and collecting pictures of cars in bike lanes in Seattle.
https://seattle.carinbikelane.com
MIT License
9 stars 1 forks source link

Sign in with Mastodon isn't working #4

Closed tsibley closed 1 year ago

tsibley commented 1 year ago

The server returns an HTTP 500 when the client makes a request for the OAuth2 URL, reproducible with curl:

$ curl -siL https://seattle.carinbikelane.com/api/Mastodon/GetOAuthUrl --data-raw '{"serverUrl":"https://metasocial.com"}' --header 'Content-Type: application/json; charset=utf-8'
HTTP/1.1 500 Internal Server Error
Content-Length: 0
Date: Thu, 15 Dec 2022 19:32:02 GMT
Server: Microsoft-IIS/10.0
Set-Cookie: ARRAffinity=…d53;Path=/;HttpOnly;Secure;Domain=seattle.carinbikelane.com
Set-Cookie: ARRAffinitySameSite=…d53;Path=/;HttpOnly;SameSite=None;Secure;Domain=seattle.carinbikelane.com
X-Powered-By: ASP.NET
golf1052 commented 1 year ago

Trying locally right now but https://metasocial.com seems to be down right now. Once it's back up I'll be able to investigate further.

tsibley commented 1 year ago

Hmm, it's up for me right now. Is it still down for you? (In general I haven't noticed blips with it.)

golf1052 commented 1 year ago

I've fixed it. Key Vault permissions weren't set correctly for the App Service. Please re-open if you run into issues.