This repository was archived by the owner on Mar 25, 2023. It is now read-only.
github-login-url #584
amitu
started this conversation in
Ideas & RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As part of adding auth support to fpm and implementing github basic support we will need a github login API
/github-login/
This API will take one optional argument
,
next. If
nextis not passed its default value would be
/`.This URL will store the value of
next
somewhere, redirect user to Github OAuth page, and once the user authorised us, the user will be redirected back to thenext
url.If the login fails, we will set the
login-failed=<reason>
query parameter to thenext
.Where To Store
next
?One option is we make
next
part of the callback URL. So say if the callback url is<oursite.com>/callback/
, we will use<oursite.com>/callback/?next=<next>
as callback URL.Beta Was this translation helpful? Give feedback.
All reactions