-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github 0auth 401 Bad Request
#5372
Comments
I haven't used this feature locally, but at a minimum you probably have to set some properties in the
|
I did it. I also checked that they were being loaded into the application
correctly. It's creating token and going through the flow but ends with
that 401 unauthorized. :(
…On Wed, Sep 9, 2020 at 5:52 PM Ben McCann ***@***.***> wrote:
I haven't used this feature locally, but at a minimum you probably have to
set some properties in the .env file:
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5372 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATDCI4BKKIWPZDS3HLX5PLSE72JBANCNFSM4RCSMZIQ>
.
--
Benjamin
|
I can't reproduce this. Did you create the OAuth app with the appropriate Homepage URL and Authorization callback URL settings described in the site readme? However, I am then getting different errors which prevent the login from completing when the environment variables with the database credentials are not set. I'm poking around to see whether there's some sensible thing we can do if that's not available, but I'm not sure what makes the most sense to do here. What are you trying to do exactly? What's your goal in running the OAuth portion of the site locally? |
I feel like I should be using Docker? There isn't any documentation or a
`docker-compose` file. Also tried manually running the migrations without
any luck.
…On Thu, Sep 10, 2020 at 7:14 AM Conduitry ***@***.***> wrote:
I can't reproduce this. Did you create the OAuth app with the appropriate
Homepage URL and Authorization callback URL settings described in the site
readme?
However, I am then getting different errors which prevent the login from
completing when the environment variables with the database credentials are
not set. I'm poking around to see whether there's some sensible thing we
can do if that's not available, but I'm not sure what makes the most sense
to do here.
What are you trying to do exactly? What's your goal in running the OAuth
portion of the site locally?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5372 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATDCI53O66V3TX2A7F3KYTSFCYIPANCNFSM4RCSMZIQ>
.
--
Benjamin
|
If you are running the site in development mode, requests to get specific saved REPLs are proxied to the real endpoints, so you have read-only access to all the same REPLs (using corresponding URLs) without having to sign in at all or have a local database. Alternatively, if you don't want to load it from the real REPL database and endpoints, you can manually edit any of the examples in |
This is super helpful. I'll update the site `readme.md` with this
information.
…On Thu, Sep 10, 2020 at 11:31 AM Conduitry ***@***.***> wrote:
If you are running the site in development mode, requests to get specific
saved REPLs are proxied to the real endpoints, so you have read-only access
to all the same REPLs (using corresponding URLs) without having to sign in
at all or have a local database. Alternatively, if you don't want to load
it from the real REPL database and endpoints, you can manually edit any of
the examples in site/content/examples.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5372 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATDCI7JMUYM57GUUJ7J2H3SFDWMNANCNFSM4RCSMZIQ>
.
--
Benjamin
|
This get fixed? |
I followed the site documentation without any luck trying to get the github 0auth feature to work with the REPL.
discord link: https://discordapp.com/channels/457912077277855764/457912077277855766/753267308658556928
Error
There wasn't a path forward there, also searched around discord, GitHub and GitHub issues svelte and didn't find anyone else with the same issue.
The text was updated successfully, but these errors were encountered: