firecamp-dev / firecamp

Developer-first OpenSource API DevTool, Postman/Insomnia alternative.
https://firecamp.dev
GNU Affero General Public License v3.0
2.1k stars 137 forks source link

dx: Improve GitHub OAuth redirect flow #145

Closed Nishchit14 closed 3 months ago

Nishchit14 commented 1 year ago

Description

The current GitHub OAuth redirect URL used after login is https://firecamp.dev/identity.html. This requires having a special identity.html page just for handling the redirect.

Instead, we could simplify the flow by redirecting directly to the main / route after login. This would allow removing the identity.html page and associated handler code.

Steps to implement:

This would clean up the auth flow and reduce redundant code.