Skip to content
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

create Stackoverflow block #42

Open
felixhaeberle opened this issue Feb 16, 2023 · 5 comments
Open

create Stackoverflow block #42

felixhaeberle opened this issue Feb 16, 2023 · 5 comments

Comments

@felixhaeberle
Copy link
Contributor

come up with an design and create Stackoverflow block

@felixhaeberle felixhaeberle added the groundwork This issues are needed to ship label Feb 16, 2023
@felixhaeberle felixhaeberle added this to the Alpha Private Launch milestone Feb 16, 2023
@NiklasBuchfink
Copy link
Contributor

NiklasBuchfink commented Feb 19, 2023

I try to kickstart this implementation and did an initial setup based on the documentation.

First some initial information:

The biggest problem challange is to test this. I would try it with ngrok, a command line tool that creates a public localhost.
Another solution might be a Domain that points to 127.0.0 or 127.0.0/service/authenticated as described in this stackoverflow solutions. We can test it with lvh.me or we set up ou own domain like flex.dev. Than use this domain for testing with an extra Stack Exchange application.

Other ToDos:

  • Test Auth + Token Flow
  • Add Store Icon / Image
  • Design Block with profile link, interests, user stats, my top answers list by votes

@felixhaeberle
Copy link
Contributor Author

nice 👍 please implement refresh token if possible.

@NiklasBuchfink
Copy link
Contributor

There is no refresh token implementation in the documentation.

But I can provide the .env variables here

@felixhaeberle
Copy link
Contributor Author

really 😄 weird. oauth official flow is with redirect token

@NilsJacobsen NilsJacobsen self-assigned this Feb 20, 2023
@NilsJacobsen
Copy link
Member

As far as I can see, stack overflow is not supporting the pkce flow. When you ask for the access token you get the access token as a string parameter to your redirecting url. No auth code that you can exchange for the token like GitHub, gitlab etc are doing it. I wonder if we should write exceptions here or not? The main problem right now is that the pollForResponse is never getting the response with the authcode. But this is handled in the connector and is unsiversal for every oAuth. What do you think?

@NilsJacobsen NilsJacobsen removed this from the Alpha Private Launch milestone Feb 22, 2023
NilsJacobsen added a commit that referenced this issue Feb 22, 2023
@NilsJacobsen NilsJacobsen removed the groundwork This issues are needed to ship label Feb 23, 2023
@NilsJacobsen NilsJacobsen removed their assignment Feb 23, 2023
@stagehq stagehq deleted a comment from NiklasBuchfink Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants